Commit Graph

63 Commits

Author SHA1 Message Date
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