mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-25 05:57:21 +08:00
Pass older Python versions
This commit is contained in:
1 parent
d13000a74c
commit
a0fa3ae95d
1 file changed
+2
-2
@@ -68,7 +68,7 @@ _IMPORTS = set(['import_name', 'import_from'])
|
|||||||
class DocstringMixin:
|
class DocstringMixin:
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
type: str
|
type: str
|
||||||
children: list[Any]
|
children: "list[Any]"
|
||||||
parent: Any
|
parent: Any
|
||||||
|
|
||||||
def get_doc_node(self):
|
def get_doc_node(self):
|
||||||
@@ -101,7 +101,7 @@ class PythonMixin:
|
|||||||
Some Python specific utilities.
|
Some Python specific utilities.
|
||||||
"""
|
"""
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
children: list[Any]
|
children: "list[Any]"
|
||||||
|
|
||||||
def get_name_of_position(self, position):
|
def get_name_of_position(self, position):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in new issue
Block a user