mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-13 21:52:42 +08:00
Pass older Python versions
This commit is contained in:
@@ -68,7 +68,7 @@ _IMPORTS = set(['import_name', 'import_from'])
|
||||
class DocstringMixin:
|
||||
__slots__ = ()
|
||||
type: str
|
||||
children: list[Any]
|
||||
children: "list[Any]"
|
||||
parent: Any
|
||||
|
||||
def get_doc_node(self):
|
||||
@@ -101,7 +101,7 @@ class PythonMixin:
|
||||
Some Python specific utilities.
|
||||
"""
|
||||
__slots__ = ()
|
||||
children: list[Any]
|
||||
children: "list[Any]"
|
||||
|
||||
def get_name_of_position(self, position):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user