[issue22792] string replace() not documented

2014-11-04 Thread R. David Murray
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.

[issue22792] string replace() not documented

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: There is already a "see also: string methods" at the top of the page. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker __

[issue22792] string replace() not documented

2014-11-04 Thread eryksun
eryksun added the comment: Follow the "String Methods" link at the top of the string module documentation. Or use this link: https://docs.python.org/3.4/library/stdtypes.html#str.replace See also help(str.replace) and help(str) in the interactive shell. -- assignee: -> docs@python co

[issue22792] string replace() not documented

2014-11-04 Thread housetier
New submission from housetier: https://docs.python.org/3.4/library/string.html does not explain the replace() function. I suppose it is very similar, if not identical, to 2.7: https://docs.python.org/2.7/library/string.html#string.replace -- components: Distutils messages: 230601 nosy: