mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-20 04:27:06 +08:00
Remove an unused compatibility function that was overriden by the same name lower in the same file.
This commit is contained in:
1 parent
0b3590ce20
commit
0da875281b
1 file changed
-8
@@ -166,14 +166,6 @@ try:
|
||||
except NameError:
|
||||
unicode = str
|
||||
|
||||
if is_py3:
|
||||
u = lambda s: s
|
||||
else:
|
||||
u = lambda s: s.decode('utf-8')
|
||||
|
||||
u.__doc__ = """
|
||||
Decode a raw string into unicode object. Do nothing in Python 3.
|
||||
"""
|
||||
|
||||
# exec function
|
||||
if is_py3:
|
||||
|
||||
Reference in new issue
Block a user