summaryrefslogtreecommitdiffstats
path: root/Doc/library/string.rst
Commit message (Collapse)AuthorAgeFilesLines
* Correct grammar mistakes in string.rst. (GH-9752)Miss Islington (bot)2018-11-071-2/+2
| | | | | (cherry picked from commit d64991031e4c86ce0331caac16770757511dd025) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (GH-8673)Terry Jan Reedy2018-08-061-3/+3
| | | | | | | The change in the mini language floating point and decimal table is consistent with 'Exponential notation' and clarifies that we are referring to the output notation, not an object type. (cherry picked from commit 28c7f8c8ce34a0cb848822a252a9d0a761fb42d5)
* [2.7] bpo-33828: Clarify auto-numbering is not available to ↵Xiang Zhang2018-06-131-2/+3
| | | | | | string.Formatter. (GH-7668) (GH-7676) string.Formatter auto-numbering feature was added in 3.4 and not available in 2.7. Make the documentation unambiguous.
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
|
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-6/+6
| | | | Original patch by James Edwards.
* Issue #15660: Further clarify 0 prefix for width specifier in formats.Terry Jan Reedy2016-03-211-2/+4
|
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-081-11/+14
| | | | | | | | | * There was a link pointing to the section on the string.Formatter class (and multiple links in Python 3), when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested in Python 3; see Issue #19729 for instance
* #19238: fix typo in documentation.Ezio Melotti2013-11-171-1/+1
|
* #19238, #19289: fix description of the align and fill values of the format ↵Ezio Melotti2013-10-201-6/+6
| | | | specification.
* Issue #17728: Specify default precision for float.format for presentation ↵Eric V. Smith2013-04-151-2/+3
| | | | types e, f, and g.
* #17265: fix highlight in template example. Initial patch by Berker Peksag.Ezio Melotti2013-02-211-3/+3
|
* #16154: fix some doctests in Doc/library. Patch by Ravi Sinha.Ezio Melotti2013-01-111-1/+1
|
* #16556: Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.Ezio Melotti2012-11-271-1/+1
|
* Update docs for string.zfillAndrew Svetlov2012-09-281-2/+3
|
* Update documentation for string.replace. Thanks to docs@Andrew Svetlov2012-09-281-2/+2
|
* #13579: minimize code base drift for 'a' string.Formatter change.R David Murray2012-08-191-5/+6
| | | | | | 2.7 doesn't support 'a'. This changeset ports the doc change and clause-reording portions of Francisco Martín Brugué patch in order to minimize code base drift.
* Issue 15660: Clarify 0 prefix for width field in str.format doc.Terry Jan Reedy2012-08-171-3/+3
|
* correctly define what 'fill' could be; thanks to Leland Hulbert from docs@Sandro Tosi2012-05-121-1/+1
|
* #14763: fix documentation for string.split/rsplit.Ezio Melotti2012-05-091-7/+8
|
* Use Python 3 instead of 3.0.Ezio Melotti2012-05-031-1/+1
|
* remove spurious dot from string formatting example; thanks to Anthon van der ↵Sandro Tosi2011-12-241-1/+1
| | | | Neut from docs@
* Remove duplication.Ezio Melotti2011-10-191-1/+1
|
* Document that format string don’t support arbitrary dictonary keys.Éric Araujo2011-09-011-0/+2
| | | | | Text adapted from the PEP. Addition requested by Terry J. Reedy on 2011-02-23 on python-dev.
* Backport source links from 3.x.Éric Araujo2011-08-191-6/+4
| | | | | Existing links have been updated to use the new reST role. In some files, I have also made cosmetic changes to the header.
* Fix grammarEli Bendersky2011-08-061-3/+3
|
* Merged revisions ↵Georg Brandl2011-02-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87627,87638,87760,87986,88108,88115,88165,88263,88329,88364-88365,88423-88424 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line #1665333: add more docs for optparse.OptionGroup. ........ r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line Fix code indentation. ........ r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line Fix duplicate end tag. ........ r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line Fix the example output of count(). ........ r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line Suppress trailing spaces in table paragraphs. ........ r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line #10944: add c_bool to types table. ........ r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line Typo fix. ........ r88263 | georg.brandl | 2011-01-30 13:19:35 +0100 (So, 30 Jan 2011) | 1 line #10680: fix mutually exclusive arguments in argument groups. ........ r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line Punctuation typos. ........ r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line #11138: fix order of fill and align specifiers. ........ r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line #8691: document that right alignment is default for numbers. ........ r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line Apply logging SocketHandler doc update by Vinay. ........ r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line Remove editing slip. ........
* Merged revisions ↵Georg Brandl2010-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85843,85849-85850,85867,85907,85914,86134,86187,86315-86316,86390,86424-86425,86428 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85843 | georg.brandl | 2010-10-26 08:59:23 +0200 (Di, 26 Okt 2010) | 1 line Markup fix. ........ r85849 | georg.brandl | 2010-10-26 21:31:06 +0200 (Di, 26 Okt 2010) | 1 line #10200: typo. ........ r85850 | georg.brandl | 2010-10-26 21:58:11 +0200 (Di, 26 Okt 2010) | 1 line #10200: typo. ........ r85867 | georg.brandl | 2010-10-27 22:01:51 +0200 (Mi, 27 Okt 2010) | 1 line Add David. ........ r85907 | georg.brandl | 2010-10-29 06:54:13 +0200 (Fr, 29 Okt 2010) | 1 line #10222: fix for overzealous AIX compiler. ........ r85914 | georg.brandl | 2010-10-29 08:17:38 +0200 (Fr, 29 Okt 2010) | 1 line (?:...) is a non-capturing, but still grouping construct. ........ r86134 | georg.brandl | 2010-11-03 08:41:00 +0100 (Mi, 03 Nov 2010) | 1 line A newline in lineno output breaks pyframe output. ........ r86187 | georg.brandl | 2010-11-05 08:10:41 +0100 (Fr, 05 Nov 2010) | 1 line Move glossary entry to the right position and fix link. ........ r86315 | georg.brandl | 2010-11-08 12:05:18 +0100 (Mo, 08 Nov 2010) | 1 line Fix latex conversion glitch in property/feature descriptions. ........ r86316 | georg.brandl | 2010-11-08 12:08:35 +0100 (Mo, 08 Nov 2010) | 1 line Fix typo. ........ r86390 | georg.brandl | 2010-11-10 08:57:10 +0100 (Mi, 10 Nov 2010) | 1 line Fix typo. ........ r86424 | georg.brandl | 2010-11-12 07:19:48 +0100 (Fr, 12 Nov 2010) | 1 line Build a PDF of the FAQs too. ........ r86425 | georg.brandl | 2010-11-12 07:20:12 +0100 (Fr, 12 Nov 2010) | 1 line #10008: Fix duplicate index entry. ........ r86428 | georg.brandl | 2010-11-12 09:09:26 +0100 (Fr, 12 Nov 2010) | 1 line Fix weird line block in table. ........
* Add more links to Python sources where the code is short, readable and an ↵Raymond Hettinger2010-11-061-0/+5
| | | | informative adjunct to the docs.
* Merged revisions 85395 via svnmerge fromBenjamin Peterson2010-10-121-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85395 | benjamin.peterson | 2010-10-12 18:07:13 -0500 (Tue, 12 Oct 2010) | 1 line fix spelling #10078 ........
* Merged revisions ↵Georg Brandl2010-10-061-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82798,82805,83659,83977,84015,84018,84141,84264,84326-84327,84480,84482,84484,84530-84531,84553,84619,84915-84916 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82798 | georg.brandl | 2010-07-11 11:23:11 +0200 (So, 11 Jul 2010) | 1 line #6774: explain shutdown() behavior varying with platform. ........ r82805 | georg.brandl | 2010-07-11 11:42:10 +0200 (So, 11 Jul 2010) | 1 line #7935: cross-reference to ast.literal_eval() from eval() docs. ........ r83659 | georg.brandl | 2010-08-03 14:06:29 +0200 (Di, 03 Aug 2010) | 1 line Terminology fix: exceptions are raised, except in generator.throw(). ........ r83977 | georg.brandl | 2010-08-13 17:10:49 +0200 (Fr, 13 Aug 2010) | 1 line Fix copy-paste error. ........ r84015 | georg.brandl | 2010-08-14 17:44:34 +0200 (Sa, 14 Aug 2010) | 1 line Add some maintainers. ........ r84018 | georg.brandl | 2010-08-14 17:48:49 +0200 (Sa, 14 Aug 2010) | 1 line Typo fix. ........ r84141 | georg.brandl | 2010-08-17 16:11:59 +0200 (Di, 17 Aug 2010) | 1 line Markup nits. ........ r84264 | georg.brandl | 2010-08-22 22:23:38 +0200 (So, 22 Aug 2010) | 1 line #9649: fix default value description. ........ r84326 | georg.brandl | 2010-08-26 16:30:15 +0200 (Do, 26 Aug 2010) | 1 line #9689: add links from overview to in-depth class API descriptions. ........ r84327 | georg.brandl | 2010-08-26 16:30:56 +0200 (Do, 26 Aug 2010) | 1 line #9681: typo. ........ r84480 | georg.brandl | 2010-09-04 00:33:27 +0200 (Sa, 04 Sep 2010) | 1 line More inclusive title. ........ r84482 | georg.brandl | 2010-09-04 00:40:02 +0200 (Sa, 04 Sep 2010) | 1 line #9760: clarify what context expression is. ........ r84484 | georg.brandl | 2010-09-04 00:49:27 +0200 (Sa, 04 Sep 2010) | 1 line Fix missing word. ........ r84530 | georg.brandl | 2010-09-05 19:07:12 +0200 (So, 05 Sep 2010) | 1 line #9747: fix copy-paste error in getresgid() doc. ........ r84531 | georg.brandl | 2010-09-05 19:09:18 +0200 (So, 05 Sep 2010) | 1 line #9776: fix some spacing. ........ r84553 | georg.brandl | 2010-09-06 08:49:07 +0200 (Mo, 06 Sep 2010) | 1 line #9780: both { and } are not valid fill characters. ........ r84619 | georg.brandl | 2010-09-08 12:43:45 +0200 (Mi, 08 Sep 2010) | 1 line Add Lukasz. ........ r84915 | georg.brandl | 2010-09-20 08:27:02 +0200 (Mo, 20 Sep 2010) | 1 line Fix typo. ........ r84916 | georg.brandl | 2010-09-20 08:29:01 +0200 (Mo, 20 Sep 2010) | 1 line Mention % as string formatting. ........
* #9139: the thousands separator is new in 2.7. Also add a missing variable ↵Ezio Melotti2010-07-021-0/+4
| | | | in the example.
* #9139: Add examples for str.format().Ezio Melotti2010-07-021-23/+152
|
* Moved period outside paren, where it belongs.Eric Smith2010-07-021-1/+1
|
* Use designated syntax for optional grammar element.Georg Brandl2010-06-271-1/+1
|
* Issue #7928: Document str.format element_index better.Eric Smith2010-02-251-1/+2
|
* Issue #5965: Add documentation for parts of format specification language.Eric Smith2010-02-251-3/+20
|
* Remove incorrect apostrophe.Eric Smith2010-02-151-1/+1
|
* #7527: use standard versionadded tags.Georg Brandl2009-12-191-3/+5
|
* Fix markup.Georg Brandl2009-11-181-5/+4
|
* Issue #7051: Clarify behaviour of 'g' and 'G'-style formatting.Mark Dickinson2009-10-081-7/+25
|
* Backport r73983: Document the thousands separator.Andrew M. Kuchling2009-10-051-1/+5
|
* #7000: document "sep" in capwords. Add a few testsEzio Melotti2009-09-261-6/+8
|
* #6813: better documentation for numberless string formats.Georg Brandl2009-09-011-3/+3
|
* builtin -> built-in.Georg Brandl2009-07-261-1/+1
|
* #6238: add fillchar to string.just function family.Georg Brandl2009-06-081-5/+6
|
* Fixed wording for formatting integers: precision is not allowed.Eric Smith2009-05-071-1/+1
|
* Demote warnings to notices where appropriate, following the goal that as few ↵Georg Brandl2009-04-271-1/+1
| | | | | | "red box" warnings should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
* Documentation for issue 5237, auto-numbered format fields. Contributed by ↵Eric Smith2009-04-221-9/+15
| | | | Terry J. Reedy.
* give os.symlink and os.link() better parameter names #5564Benjamin Peterson2009-03-281-0/+1
|
* Add token markup.Georg Brandl2009-03-161-1/+1
|