mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
fixed a bug that made it impossible to load two cbuiltins from the same directory / 2.5 compatibility
This commit is contained in:
@@ -957,6 +957,9 @@ class PyFuzzyParser(object):
|
||||
# delete code again, only the parser needs it
|
||||
del self.code
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s: %s>" % (self.__class__.__name__, self.top)
|
||||
|
||||
@property
|
||||
def line_nr(self):
|
||||
return self._line_of_tokenize_restart + self._tokenize_line_nr
|
||||
|
||||
Reference in New Issue
Block a user