Commit graph

22 commits

Author SHA1 Message Date
Georg Brandl
7c67613bc7 Update w.r.t. PEP 3137. 2007-10-23 18:17:00 +00:00
Georg Brandl
94c2c75b5e Patch #1071: Improve unicode.translate() so that you can pass unicode
characters as mapping keys and invalid mapping keys are recognized
and raise an error.
2007-10-23 06:52:59 +00:00
Brett Cannon
85c1ba5d74 Fix a minor typo. 2007-10-07 23:12:41 +00:00
Neal Norwitz
1d2aef5ccf Get the doc to build. 2007-10-02 07:26:14 +00:00
Georg Brandl
905ec32892 #1219: py3k cleanup in standard types docs. 2007-09-28 13:39:25 +00:00
Guido van Rossum
f1044293fa Patch # 1145 by Thomas Lee:
str.join(...) now applies str() to the sequence elements if they're
not strings alraedy, except for bytes, which still raise TypeError
(for the same reasons why ""==b"" raises it).
2007-09-27 18:01:22 +00:00
Thomas Wouters
8ce81f767a Merged revisions 58211-58220 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r58211 | facundo.batista | 2007-09-19 19:53:25 +0200 (Wed, 19 Sep 2007) | 4 lines


  Issue #1772851.  Optimization of __hash__ to behave better for big big
  numbers.
........
  r58216 | raymond.hettinger | 2007-09-20 05:03:43 +0200 (Thu, 20 Sep 2007) | 1 line

  Fit nits
........
  r58217 | georg.brandl | 2007-09-20 10:44:59 +0200 (Thu, 20 Sep 2007) | 2 lines

  alternate -> alternative.
........
  r58218 | georg.brandl | 2007-09-20 18:06:07 +0200 (Thu, 20 Sep 2007) | 2 lines

  Patch #1541463: optimize performance of cgi.FieldStorage operations.
........
  r58219 | georg.brandl | 2007-09-20 18:45:27 +0200 (Thu, 20 Sep 2007) | 2 lines

  #1176: document that string methods don't take keyword args.
........
  r58220 | thomas.wouters | 2007-09-20 19:35:10 +0200 (Thu, 20 Sep 2007) | 4 lines


  Try harder to stay within the 79-column limit. There's still two places that go (way) over, but those are harder to fix without suffering in readability.
........
2007-09-20 18:22:40 +00:00
Georg Brandl
c53c9666f5 Add a dict view usage example. 2007-09-04 17:58:02 +00:00
Georg Brandl
d22a8152bc Docs on dictviews. 2007-09-04 17:43:37 +00:00
Fred Drake
2e74878ef2 remove/update many of the references to dict.iter*() 2007-09-04 17:33:11 +00:00
Georg Brandl
6911e3ce3f Convert all print statements in the docs. 2007-09-04 07:15:32 +00:00
Georg Brandl
cb8ecb142b Doc update for __xslice__ removal. 2007-09-04 06:35:14 +00:00
Collin Winter
c79461b164 Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls. 2007-09-01 23:34:30 +00:00
Georg Brandl
a6f52786b7 Document sets' "<" and ">" operations. 2007-09-01 15:49:30 +00:00
Georg Brandl
55ac8f0f26 Get rid of the remaining versionadded/versionchanged directives. 2007-09-01 13:51:09 +00:00
Georg Brandl
2326a79de1 Add a warning text about mixing bytes and strings. 2007-09-01 12:08:51 +00:00
Georg Brandl
81ac1ce56a Address a few XXX comments, other fixes. 2007-08-31 17:17:17 +00:00
Georg Brandl
85eb8c103c - document bytes()
- throw out many mentions of "old-style/new-style"
- add memoryview() though I somebody has to fill in the details
- throw out str.decode()
- throw out classobj and instanceobj
2007-08-31 16:33:38 +00:00
Georg Brandl
7f13e6b3e2 string.maketrans() now produces translation tables for bytes.translate() -- wrong module?
Fix all remaining instances that did bad things with the new str.translate().
2007-08-31 10:37:15 +00:00
Georg Brandl
226878cba5 Add bytes methods documentation. 2007-08-31 10:15:37 +00:00
Georg Brandl
4b49131f2b Commit #1068: new docs for PEP 3101. Also document the old string formatting as "old", and begin documenting str/unicode unification. 2007-08-31 09:22:56 +00:00
Georg Brandl
116aa62bf5 Move the 3k reST doc tree in place. 2007-08-15 14:28:22 +00:00