Commit Graph

107 Commits

Author SHA1 Message Date
Georg Brandl
030d65811f Reorder __slots__ fine print and add a clarification. 2009-10-22 15:27:24 +00:00
Georg Brandl
2eee1d4df1 #6324: membership test tries iteration via __iter__. 2009-10-22 15:00:06 +00:00
Georg Brandl
6c14e587f5 Use "impl-detail" directive where applicable. 2009-10-22 11:48:10 +00:00
Georg Brandl
f4e6b98b01 #5621: refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign. 2009-09-16 10:12:06 +00:00
Georg Brandl
86158fc4c7 #6810: add a link to the section about frame objects instead of just a description where to find it. 2009-09-01 08:00:47 +00:00
Georg Brandl
d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Benjamin Peterson
d38d344370 revert r74152 2009-07-22 16:34:37 +00:00
Benjamin Peterson
bee2e1897b simplify 2009-07-22 00:03:43 +00:00
Georg Brandl
c1edec3374 Use the preferred form of raise statements in the docs. 2009-06-03 07:25:35 +00:00
Georg Brandl
944f684ce6 Allow multiple context managers in one with statement, as proposed
in http://codereview.appspot.com/53094 and accepted by Guido.

The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
2009-05-25 21:02:56 +00:00
Benjamin Peterson
1880d8b823 add a SETUP_WITH opcode
It speeds up the with statement and correctly looks up the special
methods involved.
2009-05-25 13:13:44 +00:00
Georg Brandl
346a38dbc0 Correction in softspace behavior description. 2009-05-22 09:58:48 +00:00
Georg Brandl
8dc3b445ec #6034: clarify __reversed__ doc. 2009-05-16 11:13:21 +00:00
Benjamin Peterson
51d06abc99 importlib.import_module is better these days 2009-05-14 00:33:10 +00:00
Georg Brandl
2ca9be4a0c #5925: fix highlighting of keyword table. 2009-05-04 20:42:08 +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
Georg Brandl
508c423fe1 Add link to PEP 236. 2009-04-23 08:52:03 +00:00
Georg Brandl
456cb1e694 Simplify markup. 2009-04-13 12:36:18 +00:00
Georg Brandl
5623e50d1a Let "lambda" point to the correct heading. 2009-04-10 08:16:47 +00:00
Georg Brandl
2ce1c61ca6 Fix-up unwanted change. 2009-03-31 19:14:42 +00:00
Georg Brandl
268d85d1e8 #992207: document that the parser only accepts \\n newlines. 2009-03-31 16:54:38 +00:00
Georg Brandl
624f3372e2 #5529: backport new docs of import semantics written by Brett to 2.x. 2009-03-31 16:11:45 +00:00
Georg Brandl
dc340eedaa #5039: make it clear that the impl. note refers to CPython. 2009-03-30 22:43:00 +00:00
Georg Brandl
a0eea590c7 Add section numbering to some of the larger subdocuments. 2009-03-28 19:57:36 +00:00
Georg Brandl
173c1f1a01 #5469: add with statement to list of name-binding constructs. 2009-03-15 21:53:56 +00:00