mirror of
https://github.com/davidhalter/parso.git
synced 2026-05-25 01:38:52 +08:00
Fix Name role in PythonMixin.get_name_of_position docstring
This commit is contained in:
committed by
Dave Halter
parent
bc8566e964
commit
89646e0970
@@ -97,7 +97,7 @@ class PythonMixin(object):
|
|||||||
|
|
||||||
def get_name_of_position(self, position):
|
def get_name_of_position(self, position):
|
||||||
"""
|
"""
|
||||||
Given a (line, column) tuple, returns a :class`Name` or ``None`` if
|
Given a (line, column) tuple, returns a :py:class:`Name` or ``None`` if
|
||||||
there is no name at that position.
|
there is no name at that position.
|
||||||
"""
|
"""
|
||||||
for c in self.children:
|
for c in self.children:
|
||||||
|
|||||||
Reference in New Issue
Block a user