[docs] [issue23019] pyexpat.errors wrongly bound to message strings instead of message codes
Martin Panter
report at bugs.python.org
Mon Jun 5 21:45:57 EDT 2017
Martin Panter added the comment:
Also, even in the Py 3 docs, the ErrorCode parser attribute is said to be numeric, but there is a suggestion to compare it with “constants” defined in the “errors” (module) object. I guess it should be clarified that you can’t compare it directly; perhaps using ErrorString or Py 3’s “errors.codes” is more appropriate?
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23019>
_______________________________________
More information about the docs
mailing list