]> granicus.if.org Git - python/commit
In PyFile_WriteString(), call PyUnicode_FromString() instead of
authorGuido van Rossum <guido@python.org>
Thu, 9 Aug 2007 22:58:05 +0000 (22:58 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 9 Aug 2007 22:58:05 +0000 (22:58 +0000)
commit11019804f6821a1804c9f2b731f19da0cb806d08
treee13a63e6a22b744a6391cf419c86c5fb4a0f6599
parentf39317a972568f66191867e833f5b2b3963caaa6
In PyFile_WriteString(), call PyUnicode_FromString() instead of
PyString_FromString().  This is arguably more correct, even if it
shouldn't matter much (all the input is likely to be ASCII).
Objects/fileobject.c