mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-18 04:34:13 +08:00
Fixed issue with repr encoding (fixes davidhalter/jedi-vim#94)
This commit is contained in:
@@ -182,3 +182,8 @@ try:
|
||||
except ImportError:
|
||||
# python 2.5
|
||||
import simplejson as json
|
||||
|
||||
try:
|
||||
encoding = sys.stdout.encoding
|
||||
except AttributeError:
|
||||
encoding = 'ascii'
|
||||
|
||||
Reference in New Issue
Block a user