[Python-Dev] Next version of PEP278 - universal newline support - available

Fredrik Lundh fredrik@pythonware.com
2002年3月14日 01:37:41 +0100


someone wrote:
> (alternate idea: instead of adding a non-standard mode
> flag, how about a "textfile" constructor?)

with the following signature, perhaps:
 f = textfile(filename, mode="r", encoding=None)
</F>

AltStyle によって変換されたページ (->オリジナル) /