mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-18 18:36:02 +08:00
Clarify what a prefix is
This commit is contained in:
committed by
Dave Halter
parent
04e18ebb01
commit
5b5d855fab
@@ -283,7 +283,7 @@ class BaseNode(NodeOrLeaf):
|
|||||||
|
|
||||||
:param tuple position: A position tuple, row, column. Rows start from 1
|
:param tuple position: A position tuple, row, column. Rows start from 1
|
||||||
:param bool include_prefixes: If ``False``, ``None`` will be returned if ``position`` falls
|
:param bool include_prefixes: If ``False``, ``None`` will be returned if ``position`` falls
|
||||||
on whitespace before a leaf
|
on whitespace or comments before a leaf
|
||||||
:return: :py:class:`parso.tree.Leaf` at ``position``, or ``None``
|
:return: :py:class:`parso.tree.Leaf` at ``position``, or ``None``
|
||||||
"""
|
"""
|
||||||
def binary_search(lower, upper):
|
def binary_search(lower, upper):
|
||||||
|
|||||||
Reference in New Issue
Block a user