From 0da875281b5b578187e83096592ada0af9f73913 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 11 May 2017 16:22:11 -0400 Subject: [PATCH] Remove an unused compatibility function that was overriden by the same name lower in the same file. --- jedi/_compatibility.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/jedi/_compatibility.py b/jedi/_compatibility.py index 65e08855..bb427c81 100644 --- a/jedi/_compatibility.py +++ b/jedi/_compatibility.py @@ -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: