Clarify what a prefix is

This commit is contained in:
Alisdair Robertson
2017-10-26 15:43:59 +11:00
committed by Dave Halter
parent 04e18ebb01
commit 5b5d855fab

View File

@@ -283,7 +283,7 @@ class BaseNode(NodeOrLeaf):
: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
on whitespace before a leaf
on whitespace or comments before a leaf
:return: :py:class:`parso.tree.Leaf` at ``position``, or ``None``
"""
def binary_search(lower, upper):