[docs] [issue9328] str.__format__.__doc__ backport glitch

Terry J. Reedy report at bugs.python.org
Thu Jul 22 00:49:16 CEST 2010

New submission from Terry J. Reedy <tjreedy at udel.edu>:

On Python list, 'jmfauth' reports
>>> >>> 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 at python
components: Documentation
keywords: easy
messages: 111130
nosy: docs at python, tjreedy
priority: normal
severity: normal
stage: needs patch
status: open
title: str.__format__.__doc__ backport glitch
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the docs mailing list