1
0
forked from VimPlug/jedi

Removed various 3.3/3.4/3.5 references

This commit is contained in:
Dave Halter
2020-07-02 00:34:22 +02:00
parent 9d5acf3c53
commit 23db298e2f
8 changed files with 1 additions and 30 deletions

View File

@@ -14,7 +14,6 @@ These classes are the much biggest part of the API, because they contain
the interesting information about all operations.
"""
import re
import sys
import warnings
from parso.python.tree import search_ancestor
@@ -918,8 +917,4 @@ class ParamName(Name):
:rtype: :py:attr:`inspect.Parameter.kind`
"""
if sys.version_info < (3, 5):
raise NotImplementedError(
'Python 2 is end-of-life, the new feature is not available for it'
)
return self._name.get_kind()