1
0
forked from VimPlug/jedi

made code slightly more pytho2 friendly

This commit is contained in:
Claude
2015-12-30 20:00:08 +01:00
parent 90c4ca8c04
commit 67cbc5ebd1
4 changed files with 83 additions and 73 deletions

View File

@@ -3,7 +3,11 @@ This module is not intended to be used in jedi, rather it will be fed to the
jedi-parser to replace classes in the typing module
"""
from collections import abc
try:
from collections import abc
except ImportError:
# python 2
import collections as abc
def factory(typing_name, indextype):