1
0
forked from VimPlug/jedi

Removed py25 related code (fixes #206)

This commit is contained in:
Danilo Bargen
2013-04-27 16:47:40 +02:00
parent b06e654b92
commit b3d9b6ce69
13 changed files with 23 additions and 128 deletions

View File

@@ -6,7 +6,7 @@ finished (and still not working as I want), I won't document it any further.
import re
import operator
from jedi._compatibility import use_metaclass, reduce, property
from jedi._compatibility import use_metaclass, reduce
from jedi import settings
from jedi import parsing
from jedi import parsing_representation as pr
@@ -225,7 +225,7 @@ class FastParser(use_metaclass(CachedFastParser)):
if settings.fast_parser_always_reparse:
self.parsers[:] = []
# dict comprehensions are not available in py2.5/2.6 :-(
# dict comprehensions are not available in 2.6 :-(
hashes = dict((p.hash, p) for p in self.parsers)
line_offset = 0