1
0
forked from VimPlug/jedi

Remove compatibility for zip_longest

This commit is contained in:
Dave Halter
2020-07-02 01:08:57 +02:00
parent 2aec4678da
commit b5e0c1e9c6
3 changed files with 4 additions and 10 deletions

View File

@@ -211,12 +211,6 @@ def literal_eval(string):
return ast.literal_eval(string)
try:
from itertools import zip_longest
except ImportError:
from itertools import izip_longest as zip_longest # Python 2 # noqa: F401
def utf8_repr(func):
"""
``__repr__`` methods in Python 2 don't allow unicode objects to be