Commit Graph

99 Commits

Author SHA1 Message Date
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
Georg Brandl
3259ef3dff #5493: clarify __nonzero__ docs. 2009-03-15 21:37:16 +00:00
Raymond Hettinger
351de8017c Add reference to solution for a commonly asked question. 2009-03-12 00:25:03 +00:00
Georg Brandl
a630735b31 #5317: update IronPython URL. 2009-02-19 16:34:51 +00:00
Georg Brandl
e7cb1ce895 #5310, #3558: fix operator precedence table. 2009-02-19 08:30:06 +00:00
Georg Brandl
0ac63f1c50 #5296: sequence -> iterable. 2009-02-18 00:25:13 +00:00
Georg Brandl
9834dd72bc #3734: document complex coercing behavior better. 2009-02-13 10:44:17 +00:00
Brett Cannon
5b0d5531f2 Clarify some __del__ stuff. 2009-01-29 00:54:11 +00:00
Georg Brandl
fe11f4d524 #4986: augassigns are not expressions. 2009-01-18 18:25:30 +00:00