forked from VimPlug/jedi
StringIo is now always used as part of the io library
This commit is contained in:
@@ -118,12 +118,6 @@ Usage::
|
||||
|
||||
"""
|
||||
|
||||
# StringIO (Python 2.5 has no io module), so use io only for py3k
|
||||
try:
|
||||
from StringIO import StringIO
|
||||
except ImportError:
|
||||
from io import StringIO
|
||||
|
||||
# hasattr function used because python
|
||||
if is_py3:
|
||||
hasattr = hasattr
|
||||
|
||||
Reference in New Issue
Block a user