[Python-checkins] python/dist/src/Lib codecs.py,1.35.2.4,1.35.2.5
doerwalter at users.sourceforge.net
doerwalter at users.sourceforge.net
Mon Mar 14 20:26:51 CET 2005
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16424/Lib
Modified Files:
Tag: release24-maint
codecs.py
Log Message:
Backport checkin:
Add default value for "whence" argument.
Index: codecs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/codecs.py,v
retrieving revision 1.35.2.4
retrieving revision 1.35.2.5
diff -u -d -r1.35.2.4 -r1.35.2.5
--- codecs.py 14 Mar 2005 19:20:15 -0000 1.35.2.4
+++ codecs.py 14 Mar 2005 19:26:47 -0000 1.35.2.5
@@ -360,7 +360,7 @@
self.charbuffer = u""
self.atcr = False
- def seek(self, offset, whence):
+ def seek(self, offset, whence=0):
""" Set the input stream's current position.
Resets the codec buffers used for keeping state.
More information about the Python-checkins
mailing list