1
0
forked from VimPlug/jedi

changed _compatibility.utf8 -> 'u' and removed a lot of the issues with the now enforced unicode source input of the parser

This commit is contained in:
Dave Halter
2014-02-23 11:29:00 +01:00
parent 5478e50f8b
commit c5fcebde82
10 changed files with 41 additions and 36 deletions

View File

@@ -90,11 +90,11 @@ except NameError:
unicode = str
if is_py3:
utf8 = lambda s: s
u = lambda s: s
else:
utf8 = lambda s: s.decode('utf-8')
u = lambda s: s.decode('utf-8')
utf8.__doc__ = """
u.__doc__ = """
Decode a raw string into unicode object. Do nothing in Python 3.
"""