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
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
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
d7d4fd7336
builtin -> built-in.
2009-07-26 14:37:28 +00:00
Georg Brandl
5623e50d1a
Let "lambda" point to the correct heading.
2009-04-10 08:16:47 +00:00
Georg Brandl
e7cb1ce895
#5310 , #3558 : fix operator precedence table.
2009-02-19 08:30:06 +00:00
Georg Brandl
c62ef8b4d9
Remove trailing whitespace.
2009-01-03 20:55:06 +00:00
Benjamin Peterson
fe7c26d942
mention how to override boolean evaluation
2008-09-23 13:32:46 +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
Georg Brandl
463f39d9ac
#3519 : callee is an expression too.
2008-08-08 06:42:20 +00:00
Georg Brandl
3214a01d27
#1410739 : add a footnote about "is" and "unusual" behavior.
2008-07-01 20:50:02 +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
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
19baaadf51
Add punctuation
2008-04-10 21:28:51 +00:00
Georg Brandl
489343e948
Don't use the confusing term "set membership".
2008-03-28 12:24:51 +00:00
Georg Brandl
8e67ef52db
Expand a bit on genexp scopes.
2008-03-03 21:31:50 +00:00
Georg Brandl
907a720f89
A lot more typo fixes by Ori Avtalion.
2008-02-22 12:31:45 +00:00
Georg Brandl
f725b9587c
Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst.
2008-01-05 19:44:22 +00:00
Jeffrey Yasskin
9871d8fe22
Continue rolling back pep-3141 changes that changed behavior from 2.5. This
...
round included:
* Revert round to its 2.6 behavior (half away from 0).
* Because round, floor, and ceil always return float again, it's no
longer necessary to have them delegate to __xxx___, so I've ripped
that out of their implementations and the Real ABC. This also helps
in implementing types that work in both 2.6 and 3.0: you return int
from the __xxx__ methods, and let it get enabled by the version
upgrade.
* Make pow(-1, .5) raise a ValueError again.
2008-01-05 08:47:13 +00:00
Jeffrey Yasskin
2f3c16be73
Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just
...
the complex_pow part), r56649, r56652, r56715, r57296, r57302, r57359, r57361,
r57372, r57738, r57739, r58017, r58039, r58040, and r59390, and new
documentation. The only significant difference is that round(x) returns a float
to preserve backward-compatibility. See http://bugs.python.org/issue1689 .
2008-01-03 02:21:52 +00:00
Georg Brandl
b19be571e0
Some cleanup in the docs.
2007-12-29 10:57:00 +00:00
Christian Heimes
44eeaec173
Patch #1537 from Chad Austin
...
Change GeneratorExit's base class from Exception to BaseException
(This time I'm applying the patch to the correct sandbox.)
2007-12-03 20:01:02 +00:00
Georg Brandl
7c3e79f67f
Make "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and __hash__.
...
I hope the concept of hashability is better understandable now.
Thanks to Tim Hatch for pointing out the flaws here.
2007-11-02 20:06:17 +00:00
Mark Summerfield
d92e871ad8
Added note in footnote about string comparisons about
...
unicodedata.normalize().
2007-10-03 08:53:21 +00:00
Georg Brandl
32008321f5
Bug #1777168 : replace operator names "opa"... with "op1"... and mark everything up as literal,
...
to enhance readability.
2007-08-21 06:12:19 +00:00
Georg Brandl
ff457b1d05
Bug #1777160 : mention explicitly that e.g. -1**2 is -1.
2007-08-21 06:07:08 +00:00
Mark Summerfield
216ad337bd
Added a note in each regarding the fact that unicode strings that look the same
...
may not compare equal (due to the possibility of multiple representations).
2007-08-16 10:09:22 +00:00
Georg Brandl
8ec7f65613
Move the 2.6 reST doc tree in place.
2007-08-15 14:28:01 +00:00