mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
little bit of python2.5 compatibility
This commit is contained in:
@@ -2,7 +2,8 @@ import re
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import types
|
import types
|
||||||
import io
|
if sys.hexversion >= 0x03000000:
|
||||||
|
import io
|
||||||
import inspect
|
import inspect
|
||||||
|
|
||||||
import debug
|
import debug
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ Ignored statements:
|
|||||||
- print (no use for it, just slows down)
|
- print (no use for it, just slows down)
|
||||||
- exec (dangerous - not controllable)
|
- 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 tokenize
|
||||||
import re
|
import re
|
||||||
|
|||||||
Reference in New Issue
Block a user