[issue30045] Bad parameter name in re.escape()

2017-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looked not correct to me but if you say "pattern" seems right I'm closing this issue. I'll update the parameter name in PR 1048. -- resolution: -> works for me stage: -> resolved status: open -> closed ___

[issue30045] Bad parameter name in re.escape()

2017-04-12 Thread Mandeep Bhutani
Mandeep Bhutani added the comment: I agree that pattern seems right. However I think that the parameter in the docs should be changed from string to pattern for consistency purposes. -- nosy: +mandeepb ___ Python tracker

[issue30045] Bad parameter name in re.escape()

2017-04-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: "Pattern" seems right to me. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mai

[issue30045] Bad parameter name in re.escape()

2017-04-11 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: 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 es