Georg Brandl
e9135ba79d
#2147 : PEP 237 changes to overflow behavior.
2008-05-11 10:55:59 +00:00
Georg Brandl
53905d8f7f
#1153769 : document PEP 237 changes to string formatting.
2008-05-11 09:06:30 +00:00
Benjamin Peterson
54718dd691
In stdtypes.rst, move methods under class directives where applicable
2008-05-09 21:30:26 +00:00
Raymond Hettinger
f8105ceec7
Issue 2778. Document the temporary frozenset swap in __contains__(), remove(), and discard().
2008-05-08 17:18:13 +00:00
Georg Brandl
c730d5f7e5
> != (!<).
2008-05-06 17:20:54 +00:00
Georg Brandl
5820022862
#2773 : fix description of 'g' and 'G' formatting spec.
2008-05-06 17:11:42 +00:00
Georg Brandl
e8f1b00372
Enable doctest running for several other documents.
...
We have now over 640 doctests that are run with "make doctest".
2008-03-22 22:04:10 +00:00
Steven Bethard
6f778cfb5b
Document unicode.isnumeric() and unicode.isdecimal() (issue2326)
2008-03-17 19:33:11 +00:00
Skip Montanaro
3c0f309fd1
correct object name
2008-02-05 19:24:30 +00:00
Georg Brandl
61d2886491
Fix two further doc build warnings.
2008-01-07 18:57:03 +00:00
Mark Summerfield
86dfee5c45
Added a hyperlink from sequence types to mutable sequence types.
2008-01-07 16:42:08 +00:00
Georg Brandl
3c403b2370
Consistency nit.
2008-01-07 09:16:08 +00:00
Georg Brandl
66502c11e9
Change virtual class name of __iter__ to "object" in order to make it linkable.
2008-01-07 09:07:38 +00:00
Georg Brandl
db210dfba2
#1501 : document that 0**0 == 1.
2008-01-06 15:41:50 +00:00
Georg Brandl
a8cbad3b83
#1755097 : document default values for [].sort() and sorted().
2008-01-06 15:34:57 +00:00
Georg Brandl
437e15d42b
#1680 : fix context manager example function name.
2008-01-06 15:30:34 +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
0a8143f646
Applied patch #1635 : Float patch for inf and nan on Windows (and other platforms).
...
The patch unifies float("inf") and repr(float("inf")) on all platforms.
2007-12-18 23:22:54 +00:00
Georg Brandl
459744cc71
Remove gratuitous unicode character.
2007-12-16 15:53:49 +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
9d83daa03d
Fix reference target.
2007-11-29 17:01:20 +00:00
Georg Brandl
07c19eaa20
Fix seealso link to sets docs. Do not merge to Py3k.
2007-11-09 12:31:43 +00:00
Raymond Hettinger
1760c8a017
Add set.isdisjoint()
2007-11-08 02:52:43 +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
ac3d429edc
Added more file-handling related cross-references.
2007-11-02 08:24:59 +00:00
Georg Brandl
744b32a544
Fix markup glitch.
2007-11-01 20:37:02 +00:00
Georg Brandl
cf3fb25932
Add :term: for generators.
2007-10-21 10:52:38 +00:00
Georg Brandl
5e52db035d
Add :term:s for descriptors.
2007-10-21 10:45:46 +00:00
Facundo Batista
d97110dd1b
Issue 1289, just a typo.
2007-10-18 03:44:48 +00:00
Georg Brandl
16fd6c4617
#1123 : fix the docs for the str.split(None, sep) case.
...
Also expand a few other methods' docs, which had more info in the deprecated string module docs.
2007-10-08 07:50:24 +00:00
Georg Brandl
efa7d51ee6
#1176 : document that string methods don't take keyword args.
2007-09-20 16:45:27 +00:00
Georg Brandl
847cae6743
Document sets' ">" and "<" operations (backport from py3k).
2007-09-01 15:49:49 +00:00
Georg Brandl
8ec7f65613
Move the 2.6 reST doc tree in place.
2007-08-15 14:28:01 +00:00