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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22792>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to