1 parent
5ff7e3dbbe
commit
4c2d1ea7e7
4 files changed
+21
-1
No files matched your search
@@ -39,6 +39,9 @@ class file():
|
||||
def readlines(self):
|
||||
return ['']
|
||||
|
||||
def __enter__(self):
|
||||
return self
|
||||
|
||||
|
||||
class xrange():
|
||||
# Attention: this function doesn't exist in Py3k (there it is range).
|
||||
|
||||
@@ -7,3 +7,6 @@ class TextIOWrapper():
|
||||
|
||||
def readlines(self):
|
||||
return ['']
|
||||
|
||||
def __enter__(self):
|
||||
return self
|
||||
Reference in new issue
Block a user