[docs] Typo in str.format() definition.

Heinrich Hartmann consulting at heinrichhartmann.com
Thu Mar 19 12:15:48 CET 2015


Hi there,

this is a rather pedantic bug report, but still here is it:

The file `https://docs.python.org/2/_sources/library/stdtypes.txt` reads:

```
.. method:: str.format(*args, **kwargs)

   Perform a string formatting operation.  The string on which this
method is
   called can contain literal text or replacement fields delimited by braces
   ``{}``.[...]
```

Should be:

```
[...] contain literal text __and__ replacement fields [...]
```

since the string can certainly contain both.

Best regards,
Heinrich





-- 
Dr. Heinrich Hartmann
Math & IT Consulting

Web:  HeinrichHartmann.com
Work: +49 1525 3638134
Post: Gutenbergstr. 7; D-56073 Koblenz

Please consider using secure Email communication:
* http://heinrichhartmann.com/2014/11/16/Secure-Email-Communication.html
* https://encrypt.to/consulting@heinrichhartmann.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/docs/attachments/20150319/e45e3909/attachment.sig>


More information about the docs mailing list