mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
little bit of python2.5 compatibility
This commit is contained in:
@@ -2,6 +2,7 @@ import re
|
||||
import sys
|
||||
import os
|
||||
import types
|
||||
if sys.hexversion >= 0x03000000:
|
||||
import io
|
||||
import inspect
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Ignored statements:
|
||||
- print (no use for it, just slows down)
|
||||
- exec (dangerous - not controllable)
|
||||
"""
|
||||
from _compatibility import next, literal_eval, tokenize_func, BytesIO
|
||||
from _compatibility import next, literal_eval, tokenize_func, BytesIO, property
|
||||
|
||||
import tokenize
|
||||
import re
|
||||
|
||||
Reference in New Issue
Block a user