[Python-3000] Proposed new language for newline parameter to TextIOBase (original) (raw)
Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sat Sep 8 13:59:01 CEST 2007
- Previous message: [Python-3000] Performance Notes - new hash algorithm
- Next message: [Python-3000] Proposed new language for newline parameter to TextIOBase
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dnia 14-08-2007, Wt o godzinie 21:56 -0700, Guido van Rossum napisaĆ(a):
(2) newline='': input with untranslated universal newlines mode; lines may end in \r, \n, or \r\n, and these are returned untranslated.
(3) newline='\r', newline='\n', newline='\r\n': input lines must end with the given character(s), and these are translated to \n.
What is the difference between '' and '\n'?
-- _("< Marcin Kowalczyk _/ qrczak at knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/
- Previous message: [Python-3000] Performance Notes - new hash algorithm
- Next message: [Python-3000] Proposed new language for newline parameter to TextIOBase
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]