Commit Graph

58 Commits

Author SHA1 Message Date
Nick Coghlan
82358691f7 Issue 2235: document the ability to block inheritance of __hash__ in the language reference 2008-08-31 13:10:50 +00:00
Georg Brandl
c176814d82 #3716: fix typo. 2008-08-30 09:52:44 +00:00
Benjamin Peterson
80f0ed5bb1 allow keyword args to be passed in after *args #3473 2008-08-19 19:52:46 +00:00
Georg Brandl
a174a37321 #3558: Attribute reference binds more tightly than subscription and call. 2008-08-15 18:35:09 +00:00
Brett Cannon
9329846f00 Fix markup for various binary operation examples where the operands were bolded
and the operator was made literal, leading to non-valid reST. Changed to have
the entire expression just be a literal bit of text.
2008-08-14 05:55:18 +00:00
Georg Brandl
463f39d9ac #3519: callee is an expression too. 2008-08-08 06:42:20 +00:00
Georg Brandl
03894c5070 Fix longstringitem definition. #3505. 2008-08-06 17:20:41 +00:00
Nick Coghlan
a510748085 Issue 643841: better documentation of the special method lookup process, especially for new-style classes. Also removes the warnings about not being authoritative for new-style classes - the language reference actually covers those fairly well now (albeit in a fashion that isn't always particularly easy to follow). 2008-08-04 12:40:59 +00:00
Georg Brandl
290d3d994a This should really be a comment. 2008-08-01 20:13:29 +00:00
Georg Brandl
632f631c48 Add the grammar to the reference manual, since the new docs don't
have the feature of putting all the small EBNF snippets together
into one big file.
2008-08-01 20:04:43 +00:00
Georg Brandl
e64f738507 #926501: add info where to put the docstring. 2008-07-20 11:50:29 +00:00
Georg Brandl
3de1e69dc7 #3323: mention that if inheriting from a class without __slots__,
the subclass will have a __dict__ available too.
2008-07-19 13:09:42 +00:00
Georg Brandl
3214a01d27 #1410739: add a footnote about "is" and "unusual" behavior. 2008-07-01 20:50:02 +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
Georg Brandl
d82a9c1618 Fix brackets. 2008-06-06 10:43:43 +00:00
Georg Brandl
a6168f9e0a Queue renaming reversal part 3: move module into place and
change imports and other references. Closes #2925.
2008-05-25 07:20:14 +00:00
Martin v. Löwis
0b66731ddd Mention that the leaking of variables from list comprehensions
is fixed in 3.0.
2008-05-23 19:33:13 +00:00
Georg Brandl
feb0921f9f #1760: try-except-finally is one statement since PEP 341. 2008-05-12 17:14:51 +00:00
Georg Brandl
7a148c2357 Fix-up docs for socketserver and queue renaming. 2008-05-12 10:03:16 +00:00
Georg Brandl
e9135ba79d #2147: PEP 237 changes to overflow behavior. 2008-05-11 10:55:59 +00:00
Georg Brandl
f8770fb5e2 #2677: add note that not all functions may accept keyword args. 2008-04-27 09:39:59 +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
19baaadf51 Add punctuation 2008-04-10 21:28:51 +00:00
Andrew M. Kuchling
3351e4142c Remove forward-looking statement 2008-04-10 21:27:10 +00:00