summaryrefslogtreecommitdiffstats
path: root/Doc/library/timeit.rst
Commit message (Collapse)AuthorAgeFilesLines
* Merge from 3.4Andrew Kuchling2015-04-211-0/+2
|\
| * #15183: clarify timeit documentation to say that setup statement isn't timedAndrew Kuchling2015-04-211-0/+2
| |
* | Issue #18983: Allow selection of output units in timeit.Robert Collins2015-03-171-1/+7
| | | | | | | | | | | | | | | | This allows manual selection of a specific unit such as usecs rather than the use of a heuristic. This is intended to aid machine processing of timeit output. Patch by Serhiy Storchaka.
* | Issue #18518: timeit now rejects statements which can't be compiled outsideSerhiy Storchaka2015-01-261-6/+0
|\ \ | |/ | | | | a function or a loop (e.g. "return" or "break").
| * Issue #18518: timeit now rejects statements which can't be compiled outsideSerhiy Storchaka2015-01-261-6/+0
| | | | | | | | a function or a loop (e.g. "return" or "break").
* | Issue #2527: Add a *globals* argument to timeit functions, in order to ↵Antoine Pitrou2014-08-231-5/+31
|/ | | | | | override the globals namespace in which the timed code is executed. Patch by Ben Roberts.
* #18588: update the timeit examples to be consistent.Ezio Melotti2014-08-041-9/+10
|
* #18518: mention that including a return statement changes/breaks the behaviourAndrew Kuchling2014-04-141-0/+6
|
* Issue #16261: fix bare excepts in Doc/Andrew Svetlov2012-11-021-1/+1
|
* #15979: merge with 3.2.Ezio Melotti2012-10-021-99/+162
|\
| * #15979: improve timeit documentation.Ezio Melotti2012-10-021-105/+165
| |
* | Merge rst markup fixes in timeit docs with 3.2.Ezio Melotti2012-09-201-10/+10
|\ \ | |/
| * Fix rst markup in timeit docs.Ezio Melotti2012-09-201-10/+10
| |
* | Update timeit documentation w.r.t default timer changes.Georg Brandl2012-05-011-15/+15
|/
* Issue #13478: document timeit.default_timer()Sandro Tosi2012-04-241-8/+16
|
* Fix closes Issue12697 - Update the usage syntax of timeit module in the docs.Senthil Kumaran2011-08-061-6/+6
|
* More source links.Raymond Hettinger2011-01-271-0/+4
|
* Fix usage of :option: in the docs (#9312).Éric Araujo2010-11-181-9/+18
| | | | | | | | | | | | | | | | | :option: is used to create a link to an option of python, not to mark up any instance of any arbitrary command-line option. These were changed to ````. For modules which do have a command-line interface, lists of options have been properly marked up with the program/cmdoption directives combo. Options defined in such blocks can be linked to with :option: later in the same file, they won’t link to an option of python. Finally, the markup of command-line fragments in optparse.rst has been cleaned to use ``x`` instead of ``"x"``, keeping that latter form for actual Python strings. Patch by Eli Bendersky and Éric Araujo.
* Last round of adapting style of documenting argument default values.Georg Brandl2009-09-161-7/+6
|
* Merged revisions ↵Benjamin Peterson2009-06-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r73004 | jeffrey.yasskin | 2009-05-28 22:44:31 -0500 (Thu, 28 May 2009) | 5 lines Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without. There's still a batch of non-prototype warnings in Xlib.h that I don't know how to fix. ........ r73439 | benjamin.peterson | 2009-06-15 19:29:31 -0500 (Mon, 15 Jun 2009) | 1 line don't mask encoding errors when decoding a string #6289 ........ r73496 | vinay.sajip | 2009-06-21 12:37:27 -0500 (Sun, 21 Jun 2009) | 1 line Issue #6314: logging.basicConfig() performs extra checks on the "level" argument. ........ r73509 | amaury.forgeotdarc | 2009-06-22 14:33:48 -0500 (Mon, 22 Jun 2009) | 2 lines #4490 Fix sample code run by "python -m xml.sax.xmlreader" ........ r73529 | r.david.murray | 2009-06-23 13:02:46 -0500 (Tue, 23 Jun 2009) | 4 lines Fix issue 5230 by having pydoc's safeimport check to see if the import error was thrown from itself in order to decide if the module can't be found. Thanks to Lucas Prado Melo for collaborating on the fix and tests. ........ r73564 | amaury.forgeotdarc | 2009-06-25 17:29:29 -0500 (Thu, 25 Jun 2009) | 6 lines #2016 Fix a crash in function call when the **kwargs dictionary is mutated during the function call setup. This even gives a slight speedup, probably because tuple allocation is faster than PyMem_NEW. ........ r73576 | benjamin.peterson | 2009-06-26 18:37:06 -0500 (Fri, 26 Jun 2009) | 1 line document is_declared_global() ........ r73577 | benjamin.peterson | 2009-06-27 09:16:23 -0500 (Sat, 27 Jun 2009) | 1 line link to extensive generator docs in the reference manual ........ r73595 | ezio.melotti | 2009-06-27 18:45:39 -0500 (Sat, 27 Jun 2009) | 1 line stmt and setup can contain multiple statements, see #5896 ........ r73596 | ezio.melotti | 2009-06-27 19:07:45 -0500 (Sat, 27 Jun 2009) | 1 line Fixed a wrong apostrophe ........ r73605 | georg.brandl | 2009-06-28 07:10:18 -0500 (Sun, 28 Jun 2009) | 1 line Remove stray pychecker directive. ........
* Remove many "versionchanged" items that didn't use the official markup,Georg Brandl2008-05-121-1/+1
| | | | | | but just some text embedded in the docs. Also remove paragraph about implicit relative imports from tutorial.
* Merged revisions 59259-59274 via svnmerge fromChristian Heimes2007-12-021-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59260 | lars.gustaebel | 2007-12-01 22:02:12 +0100 (Sat, 01 Dec 2007) | 5 lines Issue #1531: Read fileobj from the current offset, do not seek to the start. (will backport to 2.5) ........ r59262 | georg.brandl | 2007-12-01 23:24:47 +0100 (Sat, 01 Dec 2007) | 4 lines Document PyEval_* functions from ceval.c. Credits to Michael Sloan from GHOP. ........ r59263 | georg.brandl | 2007-12-01 23:27:56 +0100 (Sat, 01 Dec 2007) | 2 lines Add a few refcount data entries. ........ r59264 | georg.brandl | 2007-12-01 23:38:48 +0100 (Sat, 01 Dec 2007) | 4 lines Add test suite for cmd module. Written by Michael Schneider for GHOP. ........ r59265 | georg.brandl | 2007-12-01 23:42:46 +0100 (Sat, 01 Dec 2007) | 3 lines Add examples to the ElementTree documentation. Written by h4wk.cz for GHOP. ........ r59266 | georg.brandl | 2007-12-02 00:12:45 +0100 (Sun, 02 Dec 2007) | 3 lines Add "Using Python on Windows" document, by Robert Lehmann. Written for GHOP. ........ r59271 | georg.brandl | 2007-12-02 15:34:34 +0100 (Sun, 02 Dec 2007) | 3 lines Add example to mmap docs. Written for GHOP by Rafal Rawicki. ........ r59272 | georg.brandl | 2007-12-02 15:37:29 +0100 (Sun, 02 Dec 2007) | 2 lines Convert bdb.rst line endings to Unix style. ........ r59274 | georg.brandl | 2007-12-02 15:58:50 +0100 (Sun, 02 Dec 2007) | 4 lines Add more entries to the glossary. Written by Jeff Wheeler for GHOP. ........
* Partial py3k-ification of Doc/library/: convert has_key references into ↵Collin Winter2007-09-011-8/+6
| | | | either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls.
* Get rid of the remaining versionadded/versionchanged directives.Georg Brandl2007-09-011-11/+4
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+243