Antoine Pitrou
789be0c0a0
Issue #2396 : backport the memoryview object.
2009-04-02 21:18:34 +00:00
Georg Brandl
956ed9782a
#4411 : document mro() and __mro__. (I hope I got it right.)
2009-03-31 19:26:24 +00:00
Mark Dickinson
2e648ecc7d
Issue #532631 : Replace confusing fabs(x)/1e25 >= 1e25 test
...
with fabs(x) >= 1e50, and fix documentation.
2009-03-29 14:37:51 +00:00
Georg Brandl
a31aa45fbf
#5324 : document __subclasses__().
2009-03-28 19:10:37 +00:00
Georg Brandl
da2790c47d
#5361 : fix typo.
2009-02-27 16:23:18 +00:00
Benjamin Peterson
a168698ab3
fix str.format()'s first arg #5371
2009-02-26 00:30:11 +00:00
Georg Brandl
de196911f1
#5352 : str.count() counts non-overlapping instances.
2009-02-23 15:51:27 +00:00
Benjamin Peterson
1312b4bcfd
os.fsync() should be used to ensure that data is written to disk
2009-02-12 03:50:00 +00:00
Georg Brandl
bb550c99cb
#4914 : trunc is in math.
2009-01-18 10:48:16 +00:00
Georg Brandl
79f722da6c
#4974 : fix redundant mention of lists and tuples.
2009-01-18 10:45:22 +00:00
Georg Brandl
6c81b54cc4
#4976 : union() and intersection() take multiple args, but talk about "the other".
2009-01-18 10:42:35 +00:00
Georg Brandl
dd7e313035
Fix two issues found by the suspicious builder.
2009-01-04 10:24:09 +00:00
Georg Brandl
8c8cc6b392
Manually merge r67868 from 2.6 branch.
2009-01-03 22:05:22 +00:00
Georg Brandl
c62ef8b4d9
Remove trailing whitespace.
2009-01-03 20:55:06 +00:00
Mark Dickinson
4b3ed5d8ba
Fix typo in Python equivalent for bit_length.
2008-12-19 17:46:51 +00:00
Raymond Hettinger
ba666a59db
Fix-up and clean-up docs for int.bit_length().
...
* Replace dramatic footnote with in-line comment about possible round-off errors in logarithms of large numbers.
* Add comments to the pure python code equivalent.
* replace floor() with int() in the mathematical equivalent so the type is correct (should be an int, not a float).
* add abs() to the mathematical equivalent so that it matches the previous line that it is supposed to be equivalent to.
* make one combined example with a negative input.
2008-12-19 09:06:07 +00:00
Mark Dickinson
1a707981c8
Issue #3439 : add bit_length method to int and long.
...
Thanks Fredrik Johansson and Victor Stinner for code,
Raymond Hettinger for review.
2008-12-17 16:14:37 +00:00
Benjamin Peterson
8928a7e911
rephrase has_key doc
2008-10-31 20:41:44 +00:00
Benjamin Peterson
d79af0fc52
finish backporting binary literals and new octal literals docs
2008-10-30 22:44:18 +00:00
Andrew M. Kuchling
09e80938b0
#3288 : Document as_integer_ratio
2008-09-13 02:11:51 +00:00
Benjamin Peterson
66b14de7bb
the from __future__ import with_statement isn't needed in 2.6
2008-07-29 19:28:49 +00:00
Andrew M. Kuchling
feeee750b0
This sentence continues to bug me; rewrite it for the second time
2008-07-26 13:08:19 +00:00
Eric Smith
d6c393ab2b
Backed out r65069, pending fixing it in Windows.
2008-07-17 19:49:47 +00:00
Eric Smith
454816d8bd
Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.
2008-07-17 17:48:39 +00:00
Georg Brandl
e2efba4730
Move label to correct heading.
2008-07-15 23:59:15 +00:00
Mark Dickinson
7103aa42c0
Issue #3008 : add instance method float.hex and class method float.fromhex
...
to convert floats to and from hexadecimal strings respectively.
2008-07-15 19:08:33 +00:00
Benjamin Peterson
90f36730e2
fix various doc typos #3320
2008-07-12 20:16:19 +00:00
Andrew M. Kuchling
f5d2b4ce93
Tweak wording
2008-07-03 12:50:03 +00:00
Georg Brandl
1e0eefc4a1
#1523853 : add note about fread().
2008-07-01 20:45:09 +00:00
Andrew M. Kuchling
f839b66cf5
Grammar fixes
2008-06-20 23:14:32 +00:00
Raymond Hettinger
4267be6478
Multi-arg form for set.difference() and set.difference_update().
2008-06-11 10:30:54 +00:00
Raymond Hettinger
5c4d3d0e4c
Let set.intersection() and set.intersection_update() take multiple input arguments.
2008-06-09 13:07:27 +00:00
Raymond Hettinger
ee4bcad68e
Let set.union() and set.update() accept multiple inputs.
2008-06-09 08:33:37 +00:00
Martin v. Löwis
99815892f6
New environment variable PYTHONIOENCODING.
2008-06-01 07:20:46 +00:00
Georg Brandl
e321c2f37d
#2836 : backport new string formatting docs.
2008-05-12 16:45:43 +00:00
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