Message291514
Currently re.escape() parameter has a name "pattern", but in the documentation the name of the parameter is "string".
The name "pattern" is not correct, and maybe even misleading. The argument of escape() is not a pattern, it is an arbitrary string, and escape() makes a pattern from it by escaping special characters.
It is unlikely that the argument is passed to re.escape() by keyword. Therefore renaming it to "string" shouldn't break existing code. |
|
Date |
User |
Action |
Args |
2017-04-11 20:28:24 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ezio.melotti, mrabarnett, r.david.murray |
2017-04-11 20:28:24 | serhiy.storchaka | set | messageid: <1491942504.65.0.615945582018.issue30045@psf.upfronthosting.co.za> |
2017-04-11 20:28:24 | serhiy.storchaka | link | issue30045 messages |
2017-04-11 20:28:24 | serhiy.storchaka | create | |
|