[docs] [issue13784] Documentation of xml.sax.xmlreader: Locator.getLineNumber() and Locator.getColumnNumber()

Emily Morehouse report at bugs.python.org
Thu Jun 2 14:54:05 EDT 2016


Emily Morehouse added the comment:

The reported behavior has been verified -- the documented behavior is indeed incorrect for both Locator.getColumnNumber() and Locator.getLineNumber(). The beginning line and column numbers are returned, not the end.

This has been tested and verified for Python 2.7, Python 3.5.1 and a local build of the current default branch.

----------
keywords: +patch
nosy: +emilyemorehouse
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.6
Added file: http://bugs.python.org/file43109/13784.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13784>
_______________________________________


More information about the docs mailing list