summaryrefslogtreecommitdiff
path: root/Doc/lib/libstring.tex
AgeCommit message (Collapse)AuthorLines
2004-11-01SF patch #1056967, changes the semantics of Template.safe_substitute() to notBarry Warsaw-2/+10
raise a ValueError for dangling delimiters (the delimiter itself is returned).
2004-09-18Update Template/PEP 292 documentation to current implementation.Barry Warsaw-37/+70
2004-09-06Markup nits.Raymond Hettinger-4/+6
2004-08-25Ah whoops, we didn't turn string into a package (thanks Neal!)Barry Warsaw-12/+1
2004-08-25PEP 292 classes Template and SafeTemplate are added to the string module.Barry Warsaw-28/+122
This patch includes test cases and documentation updates, as well as NEWS file updates. This patch also updates the sre modules so that they don't import the string module, breaking direct circular imports.
2004-07-19Patch #993187: Make rstrip doc similar to lstrip.Martin v. Löwis-1/+1
Backported to 2.3.
2004-03-21Modified string.split documentation to reflect behaviour of splitting emtpy ↵Nicholas Bastin-0/+5
string. Closes SF bug #811604
2003-12-30fix truly evil markup typoFred Drake-1/+1
2003-12-17Update documentations for str.rsplit() with Alex Martelli's rewrite.Hye-Shik Chang-13/+8
2003-12-15Add rsplit method for str and unicode builtin types.Hye-Shik Chang-0/+17
SF feature request #801847. Original patch is written by Sean Reifschneider.
2003-11-18Patch #843088: Fix typos. Backported to 2.3.Martin v. Löwis-2/+2
2003-07-16Discussion of signatures for unicode.translate() and str.translate()Raymond Hettinger-10/+0
were in the wrong file. Moved out of libstring.tex and into libstdtypes.tex.
2003-07-13SF bug #706546: u''.translate not documentedRaymond Hettinger-1/+11
Clarified the difference between translate methods for string objects and Unicode objects.
2003-04-17Oops, missed updating doc to correct version for splitNeal Norwitz-1/+1
2003-04-10Attempt to make all the various string *strip methods the same.Neal Norwitz-0/+6
* Doc - add doc for when functions were added * UserString * string object methods * string module functions 'chars' is used for the last parameter everywhere. These changes will be backported, since part of the changes have already been made, but they were inconsistent.
2002-09-12Fix typo reported by Paul Clifford.Fred Drake-1/+3
Note that there is no str.joinfields(), use str.join() instead.
2002-06-20Make the docs for string.capitalize() match those of str.capitalize()Fred Drake-1/+1
(which makes it more clear). Closes SF bug #571767.
2002-04-22Apply patch diff.txt from SF feature requestWalter Dörwald-7/+18
http://www.python.org/sf/444708 This adds the optional argument for str.strip to unicode.strip too and makes it possible to call str.strip with a unicode argument and unicode.strip with a str argument.
2001-10-20Use the \note and \warning macros where appropriate.Fred Drake-4/+4
2001-07-20Added the constants ascii_letters, ascii_lowercase, and ascii_uppercaseFred Drake-3/+25
to the string module. This was determined to be the right approach in SF bug #226706.
2001-05-10Remove all mentions of the strop module -- it has been pronounced Evil.Fred Drake-9/+0
(The string "strop" is found in the rexec documentation, but that should not be changed until strop is actually removed or rexec no longer allows it.)
2000-12-26Fix doubled wordAndrew M. Kuchling-1/+1
2000-10-04Added deprecation notices to atof(), atoi(), and atol(), recommendingFred Drake-1/+4
use of the float(), int(), and long() built-ins instead. Fixed minor markup nit elsewhere (use of \optional).
2000-09-21Fixed a number of small problems reported by Detlef LannertFred Drake-6/+5
<lannert@uni-duesseldorf.de>.
2000-09-18Document the "printable" and "punctuation" constants added to the stringFred Drake-0/+11
module.
2000-09-09Add a reference to the material on string methods.Fred Drake-1/+4
2000-06-21Minor grammatical fixAndrew M. Kuchling-1/+1
2000-04-10letters:Fred Drake-4/+4
Fix description; lowercase and uppercase are strings, not functions! Noted by Randall Hopper <aa8vb@yahoo.com>. maketrans(): Minor markup nits in description.
1999-05-27Typo reported by Gerry Wiener <wiener@rap.ucar.edu>:Fred Drake-1/+1
items -> item The returned list will then have one more items than the number of non-overlapping occurrences of the separator in the string.
1999-04-22Make internal module references hyperlinks wherever it makes sense.Fred Drake-3/+3
1999-02-18Add notes to __builtin__.float() and string.atof() that the NaN and InfFred Drake-5/+9
results are possible but non-portable.
1999-02-18atof() description: Add information about accepting 'NaN' to produceFred Drake-3/+5
the NaN value.
1999-01-25Document the default for tabsize in expandtabs().Guido van Rossum-2/+2
1998-12-21Clarify descriptions of some operations; it's not always clear thatFred Drake-103/+107
strings are not actually modified. Problem reported by Dr. Peter Stoehr <peter.stoehr@weihenstephan.org>.
1998-08-10New section header style.Fred Drake-1/+2
Fix up a few synopses.
1998-07-23Adjusted to use the new module synopsis support macros.Fred Drake-2/+4
1998-06-11Add warning about use of lowercase/uppercase with maketrans().Guido van Rossum-0/+5
1998-04-07Caught a few more spurious \setindexsubitem macros....Fred Drake-1/+0
1998-04-04Remove all uses of \sectcode; we can now use logical markup everywhere.Fred Drake-1/+1
1998-04-04Remove obsolete lines like this:Fred Drake-1/+0
\setindexsubitem{(in module frobnitz)} These are no longer needed when present before any other \setindexsubitem{} in the module section. The indexsubitem is now set by \bimodindex and \stmodindex.
1998-03-17Change "\," to just "," in function signatures. This is easier to maintain,Fred Drake-67/+68
works better with LaTeX2HTML, and allows some simplification of the python.sty macros.
1998-02-13Remove all \bcode / \ecode cruft; this is no longer needed. See previousFred Drake-2/+2
checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
1998-02-02Clarify that capwords() removes leading/trailing whitespace.Guido van Rossum-5/+1
Remove references to regsub, which is obsolescent.
1997-12-16Fixed index module reference.Fred Drake-4/+4
Changed references to regex/regsub modules to point to re.
1997-10-20count() now has a 4th parameter too. Also rephrased the docs for findGuido van Rossum-12/+9
to use the same, better words to explain start/end.
1997-07-17AMK's megapatch:Guido van Rossum-0/+1
* \bcode, \ecode added everywhere * \label{module-foo} added everywhere * A few \seealso sections added. * Indentation fixed inside verbatim in lib*tex files
1997-06-02Grammar (AMK).Guido van Rossum-1/+1
1997-04-02Add cross-refs for int() to atoi() etc.Guido van Rossum-15/+14
Change replace() arguments; remove replace1().
1997-03-25Added docs for replace() and replace1().Guido van Rossum-0/+13
1997-03-14Add optional 4th argument to [r]find and [r]index (end of slice).Guido van Rossum-7/+10