[Python-checkins] python/dist/src/Lib codecs.py,1.31,1.32
doerwalter@users.sourceforge.net
doerwalter@users.sourceforge.net
Sun, 02 Feb 2003 15:08:30 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv6591/Lib
Modified Files:
codecs.py
Log Message:
Fix typos.
Index: codecs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/codecs.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** codecs.py 30 Dec 2002 23:36:02 -0000 1.31
--- codecs.py 2 Feb 2003 23:08:27 -0000 1.32
***************
*** 281,285 ****
.readline() method -- there is currently no support for
line breaking using the codec decoder due to lack of line
! buffering. Sublcasses should however, if possible, try to
implement this method using their own knowledge of line
breaking.
--- 281,285 ----
.readline() method -- there is currently no support for
line breaking using the codec decoder due to lack of line
! buffering. Subclasses should however, if possible, try to
implement this method using their own knowledge of line
breaking.
***************
*** 540,549 ****
Files are always opened in binary mode, even if no binary mode
! was specified. Thisis done to avoid data loss due to encodings
using 8-bit values. The default file mode is 'rb' meaning to
open the file in binary read mode.
encoding specifies the encoding which is to be used for the
! the file.
errors may be given to define the error handling. It defaults
--- 540,549 ----
Files are always opened in binary mode, even if no binary mode
! was specified. This is done to avoid data loss due to encodings
using 8-bit values. The default file mode is 'rb' meaning to
open the file in binary read mode.
encoding specifies the encoding which is to be used for the
! file.
errors may be given to define the error handling. It defaults
***************
*** 671,675 ****
""" Creates an encoding map from a decoding map.
! If a target mapping in the decoding map occurrs multiple
times, then that target is mapped to None (undefined mapping),
causing an exception when encountered by the charmap codec
--- 671,675 ----
""" Creates an encoding map from a decoding map.
! If a target mapping in the decoding map occurs multiple
times, then that target is mapped to None (undefined mapping),
causing an exception when encountered by the charmap codec