Inconsistency in the format docstring (2.7).

Terry Reedy tjreedy at udel.edu
Wed Jul 21 18:50:16 EDT 2010


On 7/21/2010 2:13 PM, jmfauth wrote:
> Small inconsistency in the format.__doc__
>
>>>> 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
>
>
>>>> type('{}'.format(999))
> <type 'str'>
>>>> type('{}'.format('abcé'))
> <type 'str'>

Thank you for reporting this. Forwarded to the tracker as
http://bugs.python.org/issue9328

-- 
Terry Jan Reedy





More information about the Python-list mailing list