summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstring.tex
Commit message (Collapse)AuthorAgeFilesLines
* Discussion of signatures for unicode.translate() and str.translate()Raymond Hettinger2003-07-161-10/+0
| | | | | were in the wrong file. Moved out of libstring.tex and into libstdtypes.tex.
* SF bug #706546: u''.translate not documentedRaymond Hettinger2003-07-131-1/+11
| | | | | Clarified the difference between translate methods for string objects and Unicode objects.
* Oops, missed updating doc to correct version for splitNeal Norwitz2003-04-171-1/+1
|
* Attempt to make all the various string *strip methods the same.Neal Norwitz2003-04-101-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.
* Fix typo reported by Paul Clifford.Fred Drake2002-09-121-1/+3
| | | | Note that there is no str.joinfields(), use str.join() instead.
* Make the docs for string.capitalize() match those of str.capitalize()Fred Drake2002-06-201-1/+1
| | | | | (which makes it more clear). Closes SF bug #571767.
* Apply patch diff.txt from SF feature requestWalter Dörwald2002-04-221-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.
* Use the \note and \warning macros where appropriate.Fred Drake2001-10-201-4/+4
|
* Added the constants ascii_letters, ascii_lowercase, and ascii_uppercaseFred Drake2001-07-201-3/+25
| | | | | to the string module. This was determined to be the right approach in SF bug #226706.
* Remove all mentions of the strop module -- it has been pronounced Evil.Fred Drake2001-05-101-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.)
* Fix doubled wordAndrew M. Kuchling2000-12-261-1/+1
|
* Added deprecation notices to atof(), atoi(), and atol(), recommendingFred Drake2000-10-041-1/+4
| | | | | | use of the float(), int(), and long() built-ins instead. Fixed minor markup nit elsewhere (use of \optional).
* Fixed a number of small problems reported by Detlef LannertFred Drake2000-09-211-6/+5
| | | | <lannert@uni-duesseldorf.de>.
* Document the "printable" and "punctuation" constants added to the stringFred Drake2000-09-181-0/+11
| | | | module.
* Add a reference to the material on string methods.Fred Drake2000-09-091-1/+4
|
* Minor grammatical fixAndrew M. Kuchling2000-06-211-1/+1
|
* letters:Fred Drake2000-04-101-4/+4
| | | | | | | | Fix description; lowercase and uppercase are strings, not functions! Noted by Randall Hopper <aa8vb@yahoo.com>. maketrans(): Minor markup nits in description.
* Typo reported by Gerry Wiener <wiener@rap.ucar.edu>:Fred Drake1999-05-271-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.
* Make internal module references hyperlinks wherever it makes sense.Fred Drake1999-04-221-3/+3
|
* Add notes to __builtin__.float() and string.atof() that the NaN and InfFred Drake1999-02-181-5/+9
| | | | results are possible but non-portable.
* atof() description: Add information about accepting 'NaN' to produceFred Drake1999-02-181-3/+5
| | | | the NaN value.
* Document the default for tabsize in expandtabs().Guido van Rossum1999-01-251-2/+2
|
* Clarify descriptions of some operations; it's not always clear thatFred Drake1998-12-211-103/+107
| | | | | strings are not actually modified. Problem reported by Dr. Peter Stoehr <peter.stoehr@weihenstephan.org>.
* New section header style.Fred Drake1998-08-101-1/+2
| | | | Fix up a few synopses.
* Adjusted to use the new module synopsis support macros.Fred Drake1998-07-231-2/+4
|
* Add warning about use of lowercase/uppercase with maketrans().Guido van Rossum1998-06-111-0/+5
|
* Caught a few more spurious \setindexsubitem macros....Fred Drake1998-04-071-1/+0
|
* Remove all uses of \sectcode; we can now use logical markup everywhere.Fred Drake1998-04-041-1/+1
|
* Remove obsolete lines like this:Fred Drake1998-04-041-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.
* Change "\," to just "," in function signatures. This is easier to maintain,Fred Drake1998-03-171-67/+68
| | | | | works better with LaTeX2HTML, and allows some simplification of the python.sty macros.
* Remove all \bcode / \ecode cruft; this is no longer needed. See previousFred Drake1998-02-131-2/+2
| | | | | | | | | checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
* Clarify that capwords() removes leading/trailing whitespace.Guido van Rossum1998-02-021-5/+1
| | | | Remove references to regsub, which is obsolescent.
* Fixed index module reference.Fred Drake1997-12-161-4/+4
| | | | Changed references to regex/regsub modules to point to re.
* count() now has a 4th parameter too. Also rephrased the docs for findGuido van Rossum1997-10-201-12/+9
| | | | to use the same, better words to explain start/end.
* AMK's megapatch:Guido van Rossum1997-07-171-0/+1
| | | | | | | * \bcode, \ecode added everywhere * \label{module-foo} added everywhere * A few \seealso sections added. * Indentation fixed inside verbatim in lib*tex files
* Grammar (AMK).Guido van Rossum1997-06-021-1/+1
|
* Add cross-refs for int() to atoi() etc.Guido van Rossum1997-04-021-15/+14
| | | | Change replace() arguments; remove replace1().
* Added docs for replace() and replace1().Guido van Rossum1997-03-251-0/+13
|
* Add optional 4th argument to [r]find and [r]index (end of slice).Guido van Rossum1997-03-141-7/+10
|
* Added capitalize, capwords, lstrip, rstrip, and optional 3rd argumentGuido van Rossum1996-08-091-21/+50
| | | | | to split. Document new conventions for split(fields) and join(fields), where the *fields variant is identical to the other.
* Added maketrans() and optional 3rd arg to translate() (chars to delete).Guido van Rossum1996-07-301-3/+11
|
* atol supports trailing l/L if base is 0Guido van Rossum1996-02-121-1/+1
|
* added string.translate(s, table)Guido van Rossum1995-09-131-0/+6
|
* typos, layout and other small thingsGuido van Rossum1995-04-101-1/+1
|
* mass changes; fix titles; add examples; correct typos; clarifications;Guido van Rossum1995-03-171-11/+23
| | | | unified style; etc.
* small changes by Soren LarsenGuido van Rossum1995-03-131-7/+7
|
* add warning about stropGuido van Rossum1995-03-021-7/+15
|
* a few typographical changes (e.g. -- => ---) and lots of new stuff in the ↵Guido van Rossum1995-02-281-3/+3
| | | | WWW chapter
* * Doc/libstring.tex (section{Standard Module \sectcode{string}}):Guido van Rossum1994-08-171-30/+2
| | | | removed references to {ato{f,i,l},index}_error
* Lots of small corrections by Andrew Kuchling (plus all new rotor docs)Guido van Rossum1994-08-081-7/+7
|