Commit Graph

33 Commits

Author SHA1 Message Date
Ezio Melotti f5e81d62fc #9139: the thousands separator is new in 2.7. Also add a missing variable in the example. 2010-07-02 22:50:39 +00:00
Ezio Melotti e11690ab34 #9139: Add examples for str.format(). 2010-07-02 22:17:29 +00:00
Eric Smith 68f59415b6 Moved period outside paren, where it belongs. 2010-07-02 21:44:16 +00:00
Georg Brandl 817d91829f Use designated syntax for optional grammar element. 2010-06-27 10:49:23 +00:00
Eric Smith 271b7e1abb Issue #7928: Document str.format element_index better. 2010-02-25 14:26:33 +00:00
Eric Smith de8b2ac332 Issue #5965: Add documentation for parts of format specification language. 2010-02-25 14:14:35 +00:00
Eric Smith cef34099b5 Remove incorrect apostrophe. 2010-02-15 11:55:38 +00:00
Georg Brandl 8b10f13aaf #7527: use standard versionadded tags. 2009-12-19 17:30:28 +00:00
Georg Brandl 1136ff541e Fix markup. 2009-11-18 20:05:15 +00:00
Mark Dickinson d5a713ec30 Issue #7051: Clarify behaviour of 'g' and 'G'-style formatting. 2009-10-08 20:02:25 +00:00
Andrew M. Kuchling fa6a4271c1 Backport r73983: Document the thousands separator. 2009-10-05 22:42:56 +00:00
Ezio Melotti 9aac2455ab #7000: document "sep" in capwords. Add a few tests 2009-09-26 11:20:53 +00:00
Georg Brandl 254c17c758 #6813: better documentation for numberless string formats. 2009-09-01 07:40:54 +00:00
Georg Brandl d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Georg Brandl 2cc39ad242 #6238: add fillchar to string.just function family. 2009-06-08 16:03:41 +00:00
Eric Smith 7523234abf Fixed wording for formatting integers: precision is not allowed. 2009-05-07 19:36:09 +00:00
Georg Brandl 16a57f6a34 Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
should clutter the docs as possible.  Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Eric Smith 4c074382bd Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy. 2009-04-22 00:47:00 +00:00
Benjamin Peterson 0e9285845e give os.symlink and os.link() better parameter names #5564 2009-03-28 19:16:10 +00:00
Georg Brandl 8cbe9556cf Add token markup. 2009-03-16 19:42:03 +00:00
Georg Brandl d5ad6da03b Remove obsolete stuff from string module docs. 2009-03-04 18:24:41 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Benjamin Peterson b535d32952 fix typo 2008-09-11 22:04:02 +00:00
Georg Brandl bf89981839 Document the different meaning of precision for {:f} and {:g}.
Also document how inf and nan are formatted. #3404.
2008-07-18 11:15:06 +00:00
Eric Smith d6c393ab2b Backed out r65069, pending fixing it in Windows. 2008-07-17 19:49:47 +00:00
Eric Smith 454816d8bd Issue 3382: Make '%F' and float.__format__('F') convert results to upper case. 2008-07-17 17:48:39 +00:00
Eric Smith a5fa5a218d Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.format(). 2008-07-16 00:11:49 +00:00
Benjamin Peterson 90f36730e2 fix various doc typos #3320 2008-07-12 20:16:19 +00:00
Benjamin Peterson c15205e939 rename the section about new formatting 'new-string-formatting' 2008-05-25 20:05:52 +00:00
Georg Brandl e321c2f37d #2836: backport new string formatting docs. 2008-05-12 16:45:43 +00:00
Benjamin Peterson c7b05920d6 reformat some documentation of classes so methods and attributes are under the class directive 2008-04-25 01:29:10 +00:00
Georg Brandl e8f1b00372 Enable doctest running for several other documents.
We have now over 640 doctests that are run with "make doctest".
2008-03-22 22:04:10 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00