mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-15 06:32:11 +08:00
Pass older Python versions
This commit is contained in:
@@ -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