forked from VimPlug/jedi
change an indentifier (avoid naming collisions)
This commit is contained in:
@@ -305,12 +305,12 @@ class Parser(object):
|
|||||||
self.end_pos)
|
self.end_pos)
|
||||||
|
|
||||||
super = []
|
super = []
|
||||||
token_type, next = self.next()
|
token_type, _next = self.next()
|
||||||
if next == '(':
|
if _next == '(':
|
||||||
super = self._parse_parentheses()
|
super = self._parse_parentheses()
|
||||||
token_type, next = self.next()
|
token_type, _next = self.next()
|
||||||
|
|
||||||
if next != ':':
|
if _next != ':':
|
||||||
debug.warning("class syntax: %s@%s" % (cname, self.start_pos[0]))
|
debug.warning("class syntax: %s@%s" % (cname, self.start_pos[0]))
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user