[issue24024] str.__doc__ needs an update

2018-04-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> rejected stage: needs patch -> resolved status: pending -> closed ___ Python tracker

[issue24024] str.__doc__ needs an update

2018-03-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The current docstring is correct. The signature str(object, encoding="utf-8", errors="strict") is not correct, because str(object) is not the same as str(object, encoding="utf-8", errors="strict"). >>> str([1, 2]) '[1, 2]' >>>

[issue24024] str.__doc__ needs an update

2017-02-23 Thread Garvit
Changes by Garvit : -- pull_requests: +227 ___ Python tracker ___ ___ Python-bugs-list

[issue24024] str.__doc__ needs an update

2016-01-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> docs@python components: +Documentation keywords: +easy nosy: +docs@python stage: -> needs patch type: -> enhancement versions: -Python 3.4 ___ Python tracker

[issue24024] str.__doc__ needs an update

2016-01-02 Thread Martin Panter
Martin Panter added the comment: Slightly easier to read version: >>> pprint(str.__doc__) ("str(object='') -> str\n" 'str(bytes_or_buffer[, encoding[, errors]]) -> str\n' '\n' 'Create a new string object from the given object. If encoding or\n' 'errors is specified, then the object must

[issue24024] str.__doc__ needs an update

2015-04-22 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg: In Python 3.4.3, the doc string of the str() builtin still reads: str(object='') - str\nstr(bytes_or_buffer[, encoding[, errors]]) - str\n\nCreate a new string object from the given object. If encoding or\nerrors is specified, then the object must