Commit Graph

8935 Commits

Author SHA1 Message Date
Georg Brandl
12db865a64 Part of #2154: minimal syntax fixes in doc example snippets. 2008-02-21 20:38:13 +00:00
Georg Brandl
359b9e994b #2079: typo in userdict docs. 2008-02-21 20:33:38 +00:00
Georg Brandl
e1b8e9c666 Fixes contributed by Ori Avtalion. 2008-02-20 19:12:36 +00:00
Facundo Batista
759bfc6207 Issue #1916. Added isgenerator() and isgeneratorfunction() to
inspect.py.  Thanks Javi Mansilla for patch review and
corrections.
2008-02-18 03:43:43 +00:00
Georg Brandl
27cca3cca7 Fix function name. 2008-02-17 15:14:10 +00:00
Georg Brandl
5e203f56db #2131: note that codecs.open() always opens files in binary mode. 2008-02-17 11:33:38 +00:00
Georg Brandl
943321d586 #2120: broken links in advocacy document. 2008-02-16 09:37:32 +00:00
Raymond Hettinger
e9b9b35931 Update example to match the current syntax. 2008-02-15 21:21:25 +00:00
Thomas Heller
e7fb0c5114 Try to correct a markup error that does hide the following paragraph. 2008-02-14 21:00:28 +00:00
Raymond Hettinger
5111c522e7 Fix markup 2008-02-14 19:02:39 +00:00
Raymond Hettinger
0cd717007d Simplify moneyfmt() recipe. 2008-02-14 12:49:37 +00:00
Christian Heimes
3b718a79af Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
Raymond Hettinger
50361d4d9b Fix markup. 2008-02-14 12:05:42 +00:00
Raymond Hettinger
d68bf02810 Show how to remove exponents. 2008-02-14 11:57:25 +00:00
Raymond Hettinger
27a90d989d Improve rst markup 2008-02-14 11:01:10 +00:00
Raymond Hettinger
4631481dfd Add fixed-point examples to the decimal FAQ 2008-02-14 10:46:57 +00:00
Raymond Hettinger
abe3237187 Fix decimal repr which should have used single quotes like other reprs. 2008-02-14 02:41:22 +00:00
Thomas Heller
a06a1a88ee Add pickle support to ctypes types. 2008-02-13 20:21:53 +00:00
Georg Brandl
0a40ffb1b3 #2063: correct order of utime and stime in os.times()
result on Windows.
2008-02-13 07:20:22 +00:00
Mark Dickinson
e1b824793a Implementation of Fraction.limit_denominator.
Remove Fraction.to_continued_fraction and
Fraction.from_continued_fraction
2008-02-12 21:31:59 +00:00
Raymond Hettinger
596fdd0fd3 Restore fractions.rst to the document tree. 2008-02-12 00:15:32 +00:00
Raymond Hettinger
bc4ffc17df Backport ABC docs 2008-02-11 23:38:00 +00:00
Raymond Hettinger
2ddbd80606 Fix markup 2008-02-11 23:34:56 +00:00
Mark Dickinson
cd873fc142 Put an extra space into the repr of a Fraction:
Fraction(1, 2) instead of Fraction(1,2).
2008-02-11 03:11:55 +00:00
Mark Dickinson
d058cd2cc8 Rename rational.Rational to fractions.Fraction, to avoid name clash
with numbers.Rational.  See issue #1682 for related discussion.
2008-02-10 21:29:51 +00:00