environment/lib/python2.7/site-packages/distribute-0.6.31-py2.7.egg/setuptools/command/egg_info.py
def write_file (filename, contents):
    """Create a file with the specified name and write 'contents' (a
    sequence of strings without line terminators) to it.
    """
    contents = "\n".join(contents)
    if sys.version_info >= (3,):
        contents = contents.encode("utf-8")
    f = open(filename, "wb")        # always write POSIX-style manifest
    f.write(contents)
    f.close()
def write_file (filename, contents):
    """Create a file with the specified name and write 'contents' (a
    sequence of strings without line terminators) to it.
    """
    contents = "\n".join(contents)
    if sys.version_info >= (3,):
        contents = contents.encode("utf-8")
    f = open(filename, "wb")        # always write POSIX-style manifest
    f.write(contents)
    f.close()
def write_file ( filename , contents ) : contents = "\n" . join ( contents ) if sys . version_info >= ( 3 , ) : contents = contents . encode ( "utf-8" ) f = open ( filename , "wb" ) # always write POSIX-style manifest f . write ( contents ) f . close ( )
Create a file with the specified name and write 'contents' (a
    sequence of strings without line terminators) to it.
Create a file with the specified name and write contents ( a sequence of strings without line terminators ) to it .