From 42450f48dceabe766f1363b901715c2d429bcc17 Mon Sep 17 00:00:00 2001 From: David Halter Date: Tue, 5 Feb 2013 16:16:58 +0100 Subject: [PATCH] change an indentifier (avoid naming collisions) --- jedi/parsing.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jedi/parsing.py b/jedi/parsing.py index 60528e9d..ed5c74bd 100644 --- a/jedi/parsing.py +++ b/jedi/parsing.py @@ -305,12 +305,12 @@ class Parser(object): self.end_pos) super = [] - token_type, next = self.next() - if next == '(': + token_type, _next = self.next() + if _next == '(': 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])) return None