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
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
456cb1e694
Simplify markup.
2009-04-13 12:36:18 +00:00
Georg Brandl
865cd640bb
#4083 : add "as" to except handler grammar as per PEP 3110.
2008-10-16 21:38:48 +00:00
Georg Brandl
e64f738507
#926501 : add info where to put the docstring.
2008-07-20 11:50:29 +00:00
Benjamin Peterson
b7b8bff532
reinstate the ending backtick. thanks Nick :)
2008-06-29 13:43:07 +00:00
Benjamin Peterson
6e4856a146
rewrap
2008-06-28 23:06:49 +00:00
Andrew M. Kuchling
3822af6d3a
Add *,**,@ to index, as suggested by
...
http://farmdev.com/thoughts/24/what-does-the-def-star-variable-or-def-asterisk-parameter-syntax-do-in-python-/
The right entry type to use isn't clear; operator seems wrong, because *,**,@
aren't being used in expressions here. I put them as 'statement'; 'syntax'
might be better.
2008-04-15 13:10:07 +00:00
Andrew M. Kuchling
d51e842a3f
Add class decorators
2008-03-13 11:07:35 +00:00
Georg Brandl
907a720f89
A lot more typo fixes by Ori Avtalion.
2008-02-22 12:31:45 +00:00
Georg Brandl
6265833d91
Simplify index entries; fix #1712 .
2008-01-05 19:29:45 +00:00
Georg Brandl
b19be571e0
Some cleanup in the docs.
2007-12-29 10:57:00 +00:00
Georg Brandl
584265b001
Add more entries to the glossary.
...
Written by Jeff Wheeler for GHOP.
2007-12-02 14:58:50 +00:00
Georg Brandl
a739503881
Add :term:s for "new-style class".
2007-10-21 12:15:05 +00:00
Georg Brandl
8ec7f65613
Move the 2.6 reST doc tree in place.
2007-08-15 14:28:01 +00:00