[docs] [issue18951] In unittest.TestCase.assertRegex change "re" and "regex" to "r"
report at bugs.python.org
Fri Sep 13 21:23:38 CEST 2013
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
I also updated the table entry for assertRaisesRegex and assertWarnsRegex.
I avoid using "regex" instead of "re" or "r" to keep it short and avoid confusion with the re/regex modules. The documentation of the methods uses "regex", but there it's OK.
assignee: docs at python -> ezio.melotti
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -> closed
versions: +Python 2.7
Python tracker <report at bugs.python.org>
More information about the docs