[issue22792] string replace() not documented

R. David Murray report at bugs.python.org
Tue Nov 4 16:57:37 CET 2014


R. David Murray added the comment:

To clarify for the OP: in python3 the 'string' module does not contain a replace function, whereas in 2.7 it did.  'replace' is only a method on str in python3, whereas in 2.7 it is both an str method and a function in the string module.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22792>
_______________________________________


More information about the Python-bugs-list mailing list