[issue39079] help() modifies the string module
Eric V. Smith
report at bugs.python.org
Tue Dec 17 16:13:05 EST 2019
Eric V. Smith <eric at trueblade.com> added the comment:
With 2.7.16 on cygwin, I get:
>>> import string
>>> string.letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
>>> help(int)
>>> string.letters
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
But given that there's only 2 weeks of support left for 2.7, I don't see this getting changed.
----------
nosy: +eric.smith
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39079>
_______________________________________
More information about the Python-bugs-list
mailing list