Commit 0138cef9 authored by Walter Dörwald's avatar Walter Dörwald

Add default value for "whence" argument.

parent 8b4250da
...@@ -360,7 +360,7 @@ class StreamReader(Codec): ...@@ -360,7 +360,7 @@ class StreamReader(Codec):
self.charbuffer = u"" self.charbuffer = u""
self.atcr = False self.atcr = False
def seek(self, offset, whence): def seek(self, offset, whence=0):
""" Set the input stream's current position. """ Set the input stream's current position.
Resets the codec buffers used for keeping state. 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