Commit Graph

120 Commits

Author SHA1 Message Date
Georg Brandl
9f5fd6092b Fix missing. 2010-04-14 21:46:45 +00:00
Georg Brandl
710a5dbc4a #5250: document __instancecheck__ and __subclasscheck__. I hope the part about the class/metaclass distinction is understandable. 2010-04-14 21:34:44 +00:00
Georg Brandl
fb12044392 Fix syntax. 2010-04-06 20:27:59 +00:00
Mark Dickinson
a5db4310f3 Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator. 2010-04-06 18:20:11 +00:00
Raymond Hettinger
06bc0b6d2e Add tests for functools.total_ordering. 2010-04-04 22:24:03 +00:00
Georg Brandl
6eba779235 Fix typo in unicode character name. 2010-04-02 08:51:31 +00:00
Georg Brandl
d22557cf0a Fix typo. 2010-03-08 16:28:40 +00:00
Georg Brandl
38c72030db #8039: document conditional expressions better, giving them their own section. 2010-03-07 21:12:28 +00:00
Georg Brandl
21e99f4924 #5341: more built-in vs builtin fixes. 2010-03-07 15:23:59 +00:00
Mark Dickinson
82b34c5dbe Issue #5211: Fix complex type to avoid implicit calls to
complex.__coerce__.  Thanks Meador Inge for the patch.
2010-02-21 12:57:35 +00:00
Benjamin Peterson
9179dab3f4 data descriptors do not override the class dictionary if __get__ is not defined
Adjust documentation and add a test to verify this behavior.

See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for
discussion.
2010-01-18 23:07:56 +00:00
Alexandre Vassalotti
b646547bb4 Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
Alexandre Vassalotti
ee936a2130 Issue #2335: Backport set literals syntax from Python 3.x. 2010-01-09 23:35:54 +00:00
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