forked from VimPlug/jedi
python SystemError got fixed -> http://hg.python.org/cpython/rev/0db75a55145a & http://bugs.python.org/issue15846
This commit is contained in:
@@ -161,8 +161,6 @@ class Scope(Simple):
|
||||
def add_docstr(self, string):
|
||||
""" Clean up a docstring """
|
||||
self.docstr = cleandoc(literal_eval(string))
|
||||
# TODO raises a SystemError here, report:
|
||||
#literal_eval(r"'\U'")
|
||||
|
||||
def add_import(self, imp):
|
||||
self.imports.append(imp)
|
||||
@@ -872,6 +870,8 @@ class Call(Base):
|
||||
return call
|
||||
|
||||
def generate_call_path(self):
|
||||
""" Helps to get the order in which statements are executed. """
|
||||
# TODO include previous nodes? As an option?
|
||||
try:
|
||||
for name_part in self.name.names:
|
||||
yield name_part
|
||||
|
||||
Reference in New Issue
Block a user