[issue9328] str.__format__.__doc__ backport glitch
New submission from Terry J. Reedy
sys.version 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] ''.format.__doc__ S.format(*args, **kwargs) -> unicode
I do not have 2.7 loaded to verify this, but assuming this is accurate,
'unicode' should be 'string'. I presume this is from mistaken conversion of 3.1 'string' to 2.7 'unicode' when backporting the new string format system.
----------
assignee: docs@python
components: Documentation
keywords: easy
messages: 111130
nosy: docs@python, tjreedy
priority: normal
severity: normal
stage: needs patch
status: open
title: str.__format__.__doc__ backport glitch
versions: Python 2.7
_______________________________________
Python tracker
Eric Smith
On Wed, Jul 21, 2010 at 8:34 PM, Eric Smith
Although why all of the methods say "string" and not "str" isn't clear to me. Probably historical.
Indeed; we used "string" in the docs as an informal way to say what eventually became known as basestring. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "A storm broke loose in my mind." --Albert Einstein
Eric Smith
Changes by Fred L. Drake, Jr.
Georg Brandl
participants (5)
-
Eric Smith
-
Fred Drake
-
Fred L. Drake, Jr.
-
Georg Brandl
-
Terry J. Reedy