Commit Graph

19559 Commits

Author SHA1 Message Date
Raymond Hettinger
fd27f62a74 Add cross-reference to typing.NamedTuple. Doctest two more examples. 2016-08-16 13:13:17 -07:00
Raymond Hettinger
a5f1fbd493 merge 2016-08-16 10:59:21 -07:00
Raymond Hettinger
379a3ffaf2 Remove duplicate of the entry in the seealso section 2016-08-16 10:59:04 -07:00
Raymond Hettinger
6538b430cf Issue #25628: Make namedtuple "rename" and "verbose" parameters keyword-only. 2016-08-16 10:55:43 -07:00
Georg Brandl
4770d6ec76 Add versionadded tags for (c)math.tau. 2016-08-16 07:08:46 +02:00
Nick Coghlan
02d03dfab1 Issue #26823: fix traceback abbreviation docs
- be clear builtin traceback display was also updated
- show example output in What's New
- fix versionadded markup
2016-08-16 10:58:14 +10:00
Guido van Rossum
b09b3f7ab9 Add docs for typing.AnyStr and typing.Text. By Michael Lee. (Merge 3.5->3.6) 2016-08-15 15:08:11 -07:00
Guido van Rossum
aa9560c633 Add docs for typing.AnyStr and typing.Text. By Michael Lee. 2016-08-15 15:06:38 -07:00
Guido van Rossum
0a891d70de Issue #12345: Add mathemathcal constant tau to math and cmath.
Patch by Lisa Roach. See also PEP 628.
2016-08-15 09:12:52 -07:00
Serhiy Storchaka
15f3228b7c Issue #16764: Support keyword arguments to zlib.decompress(). Patch by
Xiang Zhang.
2016-08-15 10:06:16 +03:00
Nick Coghlan
d00342347e Issue #26823: Abbreviate recursive tracebacks
Large sections of repeated lines in tracebacks are now abbreviated as
"[Previous line repeated {count} more times]" by both the traceback
module and the builtin traceback rendering.

Patch by Emanuel Barry.
2016-08-15 13:11:34 +10:00
Steven D'Aprano
dd51d16b48 Issue27573 code.interact prints a message when exiting. 2016-08-15 04:14:33 +10:00
Steven D'Aprano
a0d3eeff86 Add versionadded tag to docs for timeit.autorange 2016-08-15 02:47:49 +10:00
Steven D'Aprano
09f4f711b6 Issue6422 add autorange method to timeit.Timer 2016-08-15 01:27:03 +10:00
Serhiy Storchaka
9171a8b4ce Issue #27574: Decreased an overhead of parsing keyword arguments in functions
implemented with using Argument Clinic.
2016-08-14 10:52:18 +03:00
R David Murray
c00189e949 Merge: #27753: fix typo (name->named). 2016-08-13 14:47:54 -04:00
R David Murray
689016fc00 #27753: fix typo (name->named). 2016-08-13 14:47:18 -04:00
Raymond Hettinger
5dd2b8621d merge 2016-08-13 11:15:59 -07:00
Raymond Hettinger
f6ffa9826e Issue #27720: Fix error in eng_to_decimal docs and add examples from the specification.
(Based on a first draft patch from Evelyn Mitchell.)
2016-08-13 11:15:34 -07:00
Berker Peksag
0b9e64122b Issue #24637: Merge from 3.5 2016-08-13 05:38:18 +03:00
Berker Peksag
bd664357f1 Issue #24637: Document that locals can be any mapping object
This behavior is already tested in test_general_eval in
Lib/test/test_builtin.py

Patch by Matthew Keeter.
2016-08-13 05:37:49 +03:00
Brett Cannon
3f63483a30 Merge for issue #27712 2016-08-12 10:57:17 -07:00
Brett Cannon
6336fb2734 Issue #27712: Fix some typos in the import docs.
Thanks to Xiang Zhang for the patch.
2016-08-12 10:56:48 -07:00
Raymond Hettinger
87fe473edc merge 2016-08-12 09:44:18 -07:00
Raymond Hettinger
7f65af3d2d Issue 27719: Remove a doc example that is not applicable in Python 3 2016-08-12 09:43:59 -07:00