1
0
forked from VimPlug/jedi

call_of_name was modified. Fixed an issue that was created earlier.

This commit is contained in:
Dave Halter
2015-07-01 13:58:05 +02:00
parent d694ab83a3
commit d739828a4b
2 changed files with 5 additions and 1 deletions

View File

@@ -82,6 +82,9 @@ def call_of_name(name, cut_own_trailer=False):
You would get a node with the content ``list([]).append`` back.
This generates a copy of the original ast node.
# TODO remove cut_own_trailer option, since its always used with it. Just
# ignore it, It's not what we want anyway. Or document it better?
"""
par = name
if tree.is_node(par.parent, 'trailer'):