1
0
forked from VimPlug/jedi

Remove all_suffixes from _compatibility

This commit is contained in:
Dave Halter
2020-07-02 02:32:02 +02:00
parent 57c7d61989
commit cfd8eb23b8
3 changed files with 4 additions and 12 deletions

View File

@@ -135,15 +135,6 @@ class ImplicitNSInfo(object):
self.paths = paths
if True:
all_suffixes = importlib.machinery.all_suffixes
else:
def all_suffixes():
# Is deprecated and raises a warning in Python 3.6.
import imp
return [suffix for suffix, _, _ in imp.get_suffixes()]
# unicode function
try:
unicode = unicode