mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-18 17:31:25 +08:00
is_py3k -> is_py3
This commit is contained in:
1 parent
a6e49f2680
commit
99882724da
7 files changed
+22
-22
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import pydoc
|
||||
import keyword
|
||||
|
||||
from jedi._compatibility import is_py3k
|
||||
from jedi._compatibility import is_py3
|
||||
from jedi import common
|
||||
from jedi.evaluate import compiled
|
||||
|
||||
@@ -11,7 +11,7 @@ except ImportError:
|
||||
# Python 2.6
|
||||
import pydoc_topics
|
||||
|
||||
if is_py3k:
|
||||
if is_py3:
|
||||
keys = keyword.kwlist
|
||||
else:
|
||||
keys = keyword.kwlist + ['None', 'False', 'True']
|
||||
|
||||
Reference in new issue
Block a user