summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
Commit message (Collapse)AuthorAgeFilesLines
...
* Link isinstance/issubclass to the ABC glossary entry (#12256)Éric Araujo2011-08-191-3/+6
|
* Minor doc addition for clarityÉric Araujo2011-05-271-1/+1
|
* #12642: fix args names in open() doc.Ezio Melotti2011-07-271-4/+4
|
* Fix markup.Ezio Melotti2011-07-211-2/+2
|
* Issue 11889: Clarify docs for enumerate.Raymond Hettinger2011-06-251-8/+7
|
* Cleanup exampleRaymond Hettinger2011-06-011-5/+4
|
* Multiple clean-ups to the docs for builtin functions.Raymond Hettinger2011-06-011-28/+34
| | | | | | | | | | | | | | | * Use concrete example for dir() and eliminate the distracting doctest directives. * Add a pure python equivalent for enumerate() * Modify the enumerate() example to demonstrate the start argument * Remove incorrect reference the *iterable* in the enumerate() docs. * Downgrade the comments on input() from a warning to a note. * Fix the iter() example to use the empty string as the terminating condition for file.readline(). Also, the old example was broken because readline() results include a newline, so 'STOP\n' would have been the correct terminating condition. Even with that fix, the STOP example was fragile and would have lead to infinite loops with malformed inputs. * Do not refer to classmethod as being "more advanced" than staticmethod.
* Link to suggestions for how to use super().Raymond Hettinger2011-06-011-0/+4
|
* Issue 12003: fixing error in xrange alternative sampleEli Bendersky2011-05-231-1/+1
|
* Merged revisions 85548,85572-85573,85606,85609-85612,85614-85616 via ↵Georg Brandl2010-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85548 | georg.brandl | 2010-10-15 21:46:19 +0200 (Fr, 15 Okt 2010) | 1 line #10072: assume a bit less knowledge of the FTP protocol in the ftplib docs. ........ r85572 | georg.brandl | 2010-10-16 20:51:05 +0200 (Sa, 16 Okt 2010) | 1 line #10122: typo fix. ........ r85573 | georg.brandl | 2010-10-16 20:53:08 +0200 (Sa, 16 Okt 2010) | 1 line #10124: typo fix. ........ r85606 | georg.brandl | 2010-10-17 08:32:59 +0200 (So, 17 Okt 2010) | 1 line #10058: tweak wording about exception returns. ........ r85609 | georg.brandl | 2010-10-17 11:19:03 +0200 (So, 17 Okt 2010) | 1 line #8556: use less confusing mapping key in example. ........ r85610 | georg.brandl | 2010-10-17 11:23:05 +0200 (So, 17 Okt 2010) | 1 line #8686: remove potentially confusing wording that does not add any value. ........ r85611 | georg.brandl | 2010-10-17 11:33:24 +0200 (So, 17 Okt 2010) | 1 line #8811: small fixes to sqlite3 docs. ........ r85612 | georg.brandl | 2010-10-17 11:37:54 +0200 (So, 17 Okt 2010) | 1 line #8855: add shelve security warning. ........ r85614 | georg.brandl | 2010-10-17 11:46:11 +0200 (So, 17 Okt 2010) | 1 line #8968: add actual name of token constants. ........ r85615 | georg.brandl | 2010-10-17 12:05:13 +0200 (So, 17 Okt 2010) | 1 line #459007: merge info from PC/getpathp.c and using/windows.rst to document the forming of sys.path under Windows. ........ r85616 | georg.brandl | 2010-10-17 12:07:29 +0200 (So, 17 Okt 2010) | 1 line Fix copy-paste error in example. ........
* Merged revisions 86732 via svnmerge fromEzio Melotti2010-11-241-0/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86732 | ezio.melotti | 2010-11-24 22:18:02 +0200 (Wed, 24 Nov 2010) | 1 line #10299: Add a table that lists all the built-in functions in functions.rst ........
* Issue #8340: document bytearray in Python 2.7.Antoine Pitrou2010-11-201-0/+26
|
* Merged revisions 86249 via svnmerge fromÉric Araujo2010-11-061-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86249 | eric.araujo | 2010-11-06 07:30:16 +0100 (sam., 06 nov. 2010) | 2 lines Fix typo ........
* Issue 7447: Improve docs for sum().Raymond Hettinger2010-10-311-4/+7
|
* Merged revisions ↵Georg Brandl2010-10-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82798,82805,83659,83977,84015,84018,84141,84264,84326-84327,84480,84482,84484,84530-84531,84553,84619,84915-84916 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82798 | georg.brandl | 2010-07-11 11:23:11 +0200 (So, 11 Jul 2010) | 1 line #6774: explain shutdown() behavior varying with platform. ........ r82805 | georg.brandl | 2010-07-11 11:42:10 +0200 (So, 11 Jul 2010) | 1 line #7935: cross-reference to ast.literal_eval() from eval() docs. ........ r83659 | georg.brandl | 2010-08-03 14:06:29 +0200 (Di, 03 Aug 2010) | 1 line Terminology fix: exceptions are raised, except in generator.throw(). ........ r83977 | georg.brandl | 2010-08-13 17:10:49 +0200 (Fr, 13 Aug 2010) | 1 line Fix copy-paste error. ........ r84015 | georg.brandl | 2010-08-14 17:44:34 +0200 (Sa, 14 Aug 2010) | 1 line Add some maintainers. ........ r84018 | georg.brandl | 2010-08-14 17:48:49 +0200 (Sa, 14 Aug 2010) | 1 line Typo fix. ........ r84141 | georg.brandl | 2010-08-17 16:11:59 +0200 (Di, 17 Aug 2010) | 1 line Markup nits. ........ r84264 | georg.brandl | 2010-08-22 22:23:38 +0200 (So, 22 Aug 2010) | 1 line #9649: fix default value description. ........ r84326 | georg.brandl | 2010-08-26 16:30:15 +0200 (Do, 26 Aug 2010) | 1 line #9689: add links from overview to in-depth class API descriptions. ........ r84327 | georg.brandl | 2010-08-26 16:30:56 +0200 (Do, 26 Aug 2010) | 1 line #9681: typo. ........ r84480 | georg.brandl | 2010-09-04 00:33:27 +0200 (Sa, 04 Sep 2010) | 1 line More inclusive title. ........ r84482 | georg.brandl | 2010-09-04 00:40:02 +0200 (Sa, 04 Sep 2010) | 1 line #9760: clarify what context expression is. ........ r84484 | georg.brandl | 2010-09-04 00:49:27 +0200 (Sa, 04 Sep 2010) | 1 line Fix missing word. ........ r84530 | georg.brandl | 2010-09-05 19:07:12 +0200 (So, 05 Sep 2010) | 1 line #9747: fix copy-paste error in getresgid() doc. ........ r84531 | georg.brandl | 2010-09-05 19:09:18 +0200 (So, 05 Sep 2010) | 1 line #9776: fix some spacing. ........ r84553 | georg.brandl | 2010-09-06 08:49:07 +0200 (Mo, 06 Sep 2010) | 1 line #9780: both { and } are not valid fill characters. ........ r84619 | georg.brandl | 2010-09-08 12:43:45 +0200 (Mi, 08 Sep 2010) | 1 line Add Lukasz. ........ r84915 | georg.brandl | 2010-09-20 08:27:02 +0200 (Mo, 20 Sep 2010) | 1 line Fix typo. ........ r84916 | georg.brandl | 2010-09-20 08:29:01 +0200 (Mo, 20 Sep 2010) | 1 line Mention % as string formatting. ........
* Merged revisions ↵Georg Brandl2010-08-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83536,83546-83548,83550,83554-83555,83558,83563,83565,83571,83574-83575 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line #8578: mention danger of not incref'ing weak referenced object. ........ r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line #7973: Fix distutils options spelling. ........ r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line #7386: add example that shows that trailing path separators are stripped. ........ r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line #8172: how does one use a property? ........ r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line #9451: strengthen warning about __*__ special name usage. ........ r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line #7280: note about nasmw.exe. ........ r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line #8861: remove unused variable. ........ r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line #8648: document UTF-7 codec functions. ........ r83563 | georg.brandl | 2010-08-02 22:21:21 +0200 (Mo, 02 Aug 2010) | 1 line #9037: add example how to raise custom exceptions from C code. ........ r83565 | georg.brandl | 2010-08-02 22:27:20 +0200 (Mo, 02 Aug 2010) | 1 line #9111: document that do_help() looks at docstrings. ........ r83571 | georg.brandl | 2010-08-02 22:44:34 +0200 (Mo, 02 Aug 2010) | 1 line Clarify that abs() is not a namespace. ........ r83574 | georg.brandl | 2010-08-02 22:47:56 +0200 (Mo, 02 Aug 2010) | 1 line #6867: epoll.register() returns None. ........ r83575 | georg.brandl | 2010-08-02 22:52:10 +0200 (Mo, 02 Aug 2010) | 1 line #9238: zipfile does handle archive comments. ........
* Merged revisions 83277 via svnmerge fromMark Dickinson2010-07-301-0/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83277 | mark.dickinson | 2010-07-30 14:13:02 +0100 (Fri, 30 Jul 2010) | 1 line Add note about surprising behaviour from round function. ........
* #8472: fix misleading reference to ifilterfalse() in filter() docs.Georg Brandl2010-07-041-2/+3
|
* #8472: fix wrong function name in functions.rst: itertools.filterfalse -> ↵Ezio Melotti2010-04-201-1/+1
| | | | itertools.ifilterfalse
* #8370: fix module name in backported doc addition.Georg Brandl2010-04-141-2/+2
|
* Add tests for cmp_to_key.Raymond Hettinger2010-04-041-3/+2
| | | | | | Adopt PEP 8 compliant function name. Factor-out existing uses cmp_to_key. Update documentation to use internal pointers instead of external resource.
* Document link to Sorting HowToRaymond Hettinger2010-04-011-0/+3
|
* Fix some issues found by Jacques Ducasse on the docs list.Georg Brandl2010-03-211-2/+3
|
* #7400: typo.Georg Brandl2009-11-261-1/+1
|
* Fix terminology.Georg Brandl2009-11-141-1/+1
|
* revert r76243; I was right, actually :)Benjamin Peterson2009-11-131-4/+4
|
* never mind about eval mode in this caseBenjamin Peterson2009-11-131-4/+4
|
* fix several compile() issues by translating newlines in the tokenizerBenjamin Peterson2009-11-121-5/+8
|
* Use "impl-detail" directive where applicable.Georg Brandl2009-10-221-9/+12
|
* Issue #7028: Add note to hex() builtin docs pointing to float.hex().Mark Dickinson2009-10-031-0/+5
|
* #6925: rewrite docs for locals() and vars() a bit.Georg Brandl2009-09-181-10/+8
|
* Fix base keyword arg name for int() and long().Georg Brandl2009-08-061-6/+7
|
* builtin -> built-in.Georg Brandl2009-07-261-1/+1
|
* #6577: fix (hopefully) all links to builtin instead of module/class-specific ↵Georg Brandl2009-07-261-5/+5
| | | | objects.
* Improve English phrasing.R. David Murray2009-06-221-1/+1
|
* s/use/call/Georg Brandl2009-05-221-1/+1
|
* Fix confusing wording.Georg Brandl2009-05-221-1/+1
|
* #6084: fix example.Georg Brandl2009-05-221-1/+1
|
* Demote warnings to notices where appropriate, following the goal that as few ↵Georg Brandl2009-04-271-3/+3
| | | | | | "red box" warnings should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
* #5751: fix escaping of \\n.Georg Brandl2009-04-211-1/+1
|
* Clarify the behavior of any() and all() with an empty iterable.Raymond Hettinger2009-04-161-2/+4
|
* Issue #2396: backport the memoryview object.Antoine Pitrou2009-04-021-0/+7
|
* #5199: make warning about vars() assignment more visible.Georg Brandl2009-03-301-2/+6
|
* a much better exampleBenjamin Peterson2009-03-181-18/+7
|
* I thought this was begging for an exampleBenjamin Peterson2009-03-171-0/+19
|
* Fix typo.Raymond Hettinger2009-02-261-1/+1
|
* Remove reference to zero argument form of super() in 2.x docs.Raymond Hettinger2009-02-251-2/+1
|
* More markup and spelling fixes.Raymond Hettinger2009-02-251-6/+6
|
* Restore Py2.x version of sample call to super().Raymond Hettinger2009-02-251-1/+1
|
* Sync-up py3.1 doc updates for super().Raymond Hettinger2009-02-251-17/+26
|