mirror of
https://github.com/davidhalter/jedi.git
synced 2026-09-19 18:13:14 +08:00
@@ -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