Show More
@@ -224,8 +224,8 b' if ispy3:' | |||
|
224 | 224 | xrange = builtins.range |
|
225 | 225 | unicode = str |
|
226 | 226 | |
|
227 | def open(name, mode='r', buffering=-1): | |
|
228 | return builtins.open(name, sysstr(mode), buffering) | |
|
227 | def open(name, mode='r', buffering=-1, encoding=None): | |
|
228 | return builtins.open(name, sysstr(mode), buffering, encoding) | |
|
229 | 229 | |
|
230 | 230 | def _getoptbwrapper(orig, args, shortlist, namelist): |
|
231 | 231 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now