Kaydet (Commit) 2a20d4bd authored tarafından Walter Dörwald's avatar Walter Dörwald

Backport checkin:

Add default value for "whence" argument.
üst 96aeafbf
......@@ -360,7 +360,7 @@ class StreamReader(Codec):
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment