summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15624: clarify newline documentation for open and io.TextIOWrapperAndrew Svetlov2012-08-131-12/+15
|\ | | | | | | Thanks to Chris Jerdonek
| * Issue #15624: clarify newline documentation for open and io.TextIOWrapperAndrew Svetlov2012-08-131-12/+15
| | | | | | | | Thanks to Chris Jerdonek
* | update doctestsAndrew Svetlov2012-08-121-9/+10
| |
* | Issue #15471: Don't use mutable object as default values for theBrett Cannon2012-08-061-1/+1
| | | | | | | | parameters of importlib.__import__().
* | Issue #15482: Merge 78449:3fe01f7520e2 with a minor clarification.Brett Cannon2012-08-061-1/+2
|\ \ | |/
| * Issue #15482: Properly document the default 'level' parameter forBrett Cannon2012-08-061-5/+8
| | | | | | | | | | | | | | __import__(). To help explain why the -1 default value is typically not seen, a note about how import statements only use values of >= 0 is also noted.
* | (Merge 3.2) open() / TextIOWrapper doc: make it explicit than newline='\n'Victor Stinner2012-08-031-3/+3
|\ \ | |/ | | | | doesn't translate newlines on output.
| * open() / TextIOWrapper doc: make it explicit than newline='\n' doesn'tVictor Stinner2012-08-031-3/+3
| | | | | | | | translate newlines on output.
* | Minor markup tweak.Brett Cannon2012-07-301-1/+1
| |
* | Add a versionchanged mention to __import__ in regards to negative level values.Brett Cannon2012-07-301-0/+3
| |
* | Merge 3.2 closes issue 13557Terry Jan Reedy2012-07-081-1/+4
|\ \ | |/
| * Issue #13557: Clarify effect of giving two different namespaces to exec orTerry Jan Reedy2012-07-081-1/+4
| | | | | | | | execfile().
* | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymoreVictor Stinner2012-06-051-3/+4
| | | | | | | | | | | | | | | | | | | | open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False) instead of locale.getpreferredencoding() in text mode if the encoding is not specified. Don't change temporary the locale encoding using locale.setlocale(), use the current locale encoding instead of the user preferred encoding. Explain also in open() documentation that locale.getpreferredencoding(False) is called if the encoding is not specified.
* | Issue #12760: Add some mising documentation about the new `x` exclusiveCharles-François Natali2012-05-201-5/+10
| | | | | | | | creation flag to open().
* | Close #14588: added a PEP 3115 compliant dynamic type creation mechanismNick Coghlan2012-05-191-4/+6
| |
* | Clarify that one should not use __import__() directly. Also mentionBrett Cannon2012-04-151-3/+5
| | | | | | | | PEP 328 in explaining how 'index' works.
* | merge 3.2 (#9574)Mark Dickinson2012-03-101-0/+7
|\ \ | |/
| * Closes #9574: Note that complex constructor doesn't allow whitespace around ↵Mark Dickinson2012-03-101-0/+7
| | | | | | | | central operator.
* | Closes #13761: add a "flush" keyword argument to print().Georg Brandl2012-01-131-4/+7
| |
* | Merge #11633 At least 2 people prefer earlier revision.Terry Jan Reedy2012-01-121-2/+2
|\ \ | |/
| * #11633 At least 2 people prefer earlier revision.Terry Jan Reedy2012-01-121-2/+2
| |
* | Merge with 3.2Terry Jan Reedy2012-01-111-1/+3
|\ \ | |/ | | | | #11633 Clarify print buffering (will change again if 13761 adds flush param).
| * Closes #11633 Clarify print buffering.Terry Jan Reedy2012-01-111-1/+3
| |
* | add introspection to range objects (closes #9896)Benjamin Peterson2011-11-051-1/+6
| | | | | | | | Patch by Daniel Urban.
* | Issue #12797: Added custom opener parameter to builtin open() and FileIO.open().Ross Lagerwall2011-10-311-1/+10
| |
* | MergeRaymond Hettinger2011-10-301-3/+3
|\ \ | |/
| * Improve itertools docs with clearer examples of pure python equivalent code.Raymond Hettinger2011-10-301-3/+3
| |
| * Fix typo.Ezio Melotti2011-10-251-1/+1
| |
* | Remove mention of narrow/wide builds from ord/chr doc.Ezio Melotti2011-10-251-8/+1
| |
* | Issue #13201: equality for range objects is now based on equality of the ↵Mark Dickinson2011-10-231-0/+12
| | | | | | | | underlying sequences. Thanks Sven Marnach for the patch.
* | Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\ \ | |/
| * Remove duplication.Ezio Melotti2011-10-191-1/+1
| |
* | Replace mentions of IOErrorAntoine Pitrou2011-10-121-1/+4
|/
* Add links from library/functions to other docs.Éric Araujo2011-09-011-6/+7
| | | | Suggested by Terry J. Reedy in #12298.
* Fix a few links in the table of built-in functions (#12298)Éric Araujo2011-09-011-3/+20
|
* Link isinstance/issubclass to the ABC glossary entry (#12256)Éric Araujo2011-08-191-2/+4
|
* Let the doc of __import__ link to importlib (#9254).Éric Araujo2011-07-291-10/+3
| | | | | | importlib.import_module eschews a number of issues that __import__ has. Reviewed by Brett Cannon. (The docstring of __import__ was already updated in 3d490c3a019e, for #7397.)
* Issue 11889: Clarify docs for enumerate.Raymond Hettinger2011-06-251-8/+7
|
* Forward port doc updates for builtin functions.Raymond Hettinger2011-06-011-22/+32
|
* Merge doc touch-ups and fixes for #9831 and #9223 from 3.1Éric Araujo2011-05-281-1/+1
|\
| * Minor doc addition for clarityÉric Araujo2011-05-271-1/+1
| |
| * Merged revisions ↵Georg Brandl2010-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85572-85573,85606,85609-85622,85624,85626-85627,85629,85631,85633,85635-85636,85638-85639,85641-85642 via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ........ 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. ........ r85613 | georg.brandl | 2010-10-17 11:43:35 +0200 (So, 17 Okt 2010) | 1 line Fix hmac docs: it takes and returns bytes, except for hexdigest(). ........ 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. ........ r85617 | georg.brandl | 2010-10-17 12:09:06 +0200 (So, 17 Okt 2010) | 1 line #5212: md5 weaknesses do not affect hmac, so remove the note about that. ........ r85618 | georg.brandl | 2010-10-17 12:14:38 +0200 (So, 17 Okt 2010) | 1 line #9086: correct wrong terminology about linking with pythonXY.dll. ........ r85619 | georg.brandl | 2010-10-17 12:15:50 +0200 (So, 17 Okt 2010) | 1 line Make file names consistent. ........ r85620 | georg.brandl | 2010-10-17 12:22:28 +0200 (So, 17 Okt 2010) | 1 line Remove second parser module example; it referred to non-readily-available example files, and this kind of discovery is much better done with the AST nowadays anyway. ........ r85621 | georg.brandl | 2010-10-17 12:24:54 +0200 (So, 17 Okt 2010) | 1 line #9105: move pickle warning to a bit more prominent location. ........ r85622 | georg.brandl | 2010-10-17 12:28:04 +0200 (So, 17 Okt 2010) | 1 line #9112: document error() and exit() methods of ArgumentParser. ........ r85624 | georg.brandl | 2010-10-17 12:34:28 +0200 (So, 17 Okt 2010) | 1 line Some markup and style fixes in argparse docs. ........ r85626 | georg.brandl | 2010-10-17 12:38:20 +0200 (So, 17 Okt 2010) | 1 line #9117: fix syntax for class definition. ........ r85627 | georg.brandl | 2010-10-17 12:44:11 +0200 (So, 17 Okt 2010) | 1 line #9138: reword introduction to classes in Python. ........ r85629 | georg.brandl | 2010-10-17 12:51:45 +0200 (So, 17 Okt 2010) | 1 line #5962: clarify sys.exit() vs. threads. ........ r85631 | georg.brandl | 2010-10-17 12:53:54 +0200 (So, 17 Okt 2010) | 1 line Fix capitalization. ........ r85633 | georg.brandl | 2010-10-17 12:59:41 +0200 (So, 17 Okt 2010) | 1 line #9204: remove mentions of removed types in the types module. ........ r85635 | georg.brandl | 2010-10-17 13:03:22 +0200 (So, 17 Okt 2010) | 1 line #5121: fix claims about default values leading to segfaults. ........ r85636 | georg.brandl | 2010-10-17 13:06:14 +0200 (So, 17 Okt 2010) | 1 line #9237: document sys.call_tracing(). ........ r85638 | georg.brandl | 2010-10-17 13:13:37 +0200 (So, 17 Okt 2010) | 1 line Port changes to pickle docs apparently lost in py3k. ........ r85639 | georg.brandl | 2010-10-17 13:23:56 +0200 (So, 17 Okt 2010) | 1 line Make twisted example a bit more logical. ........ r85641 | georg.brandl | 2010-10-17 13:29:07 +0200 (So, 17 Okt 2010) | 1 line Fix documentation of dis.opmap direction. ........ r85642 | georg.brandl | 2010-10-17 13:36:28 +0200 (So, 17 Okt 2010) | 1 line #9730: fix example. ........
| * Merged revisions 86737 via svnmerge fromEzio Melotti2010-11-241-4/+4
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86737 | ezio.melotti | 2010-11-25 00:02:18 +0200 (Thu, 25 Nov 2010) | 1 line Add NEWS entry for r86732 and fix double function in the table. ........
| * Merged revisions 86732 via svnmerge fromEzio Melotti2010-11-241-0/+18
| | | | | | | | | | | | | | | | | | | | 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 ........
| * Merged revisions 86670 via svnmerge fromÉric Araujo2010-11-221-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86670 | eric.araujo | 2010-11-22 04:09:19 +0100 (lun., 22 nov. 2010) | 5 lines Remove unnecessary `object` base class in docs (#10366). Also add a note about inheritance from `object` being default. ........
| * Merged revisions 86603 via svnmerge fromAntoine Pitrou2010-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86603 | antoine.pitrou | 2010-11-20 20:36:05 +0100 (sam., 20 nov. 2010) | 3 lines In 3.x, bytearray is akin to bytes, not str. ........
| * Merged revisions 86526 via svnmerge fromAlexander Belopolsky2010-11-181-10/+14
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86526 | alexander.belopolsky | 2010-11-18 13:50:13 -0500 (Thu, 18 Nov 2010) | 1 line Issue 7828: Fixed chr() and ord() documentation for wide characters ........
| * 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-3/+6
| |
| * Issue #10029: Fix sample code in the docs for zip().Raymond Hettinger2010-10-101-5/+12
| |