summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] Move __missing__ after __delitem__ in Data model. (GH-10923). (GH-10944)Andre Delfino2018-12-051-6/+6
| | | | | (cherry picked from commit 1ce853f37783575e2b3aaa159ddcebc8660830ef) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* [2.7] bpo-33699: Describe try's else clause with the rest of the try clause ↵Andrés Delfino2018-11-111-7/+5
| | | | | | | | | | (GH-7252) (GH-10469) https://bugs.python.org/issue33699 (cherry picked from commit b086c8afdb8c862011e3e27d4c8f6833749f2c56) https://bugs.python.org/issue33699
* Add future_stmt to simple_stmt production list. (GH-8239)Miss Islington (bot)2018-11-081-0/+1
| | | | | (cherry picked from commit cdb96f45b61a40a7e7c4c83b4b1f14ef6f5cf4fa) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] Use 'for example' instead of 'in other words' in compound statement ↵Andrés Delfino2018-07-301-1/+1
| | | | | | | doc (GH-8401) (cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] bpo-33877: Remove UNIX qualification for running complete programs ↵Andrés Delfino2018-06-231-5/+5
| | | | | | | | (GH-7744) The statement is true for Windows (and macOS) also.. (cherry picked from commit c9d43c702a53804c23ecb22a0dbf6a47c804d2b1) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672) (#7716)Andrés Delfino2018-06-151-1/+1
| | | | | | 'expresson list' refers to the grammar term 'expression_list' in the subscription production.. (cherry picked from commit 4fddd4e4069aad9efad999d8d9ce3cd9fb523a5c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33766: Document that end of file or string is a newline (GH-7383)Miss Islington (bot)2018-06-091-5/+6
| | | | | (cherry picked from commit 0aa17ee6a76df0946d42e7657a501f1862065a22) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
* [2.7] bpo-33595: Fix lambda parameters being refered as arguments (GH-7037) ↵Terry Jan Reedy2018-05-251-2/+2
| | | | | | | (GH-7122) (cherry picked from commit 268cc7c) Co-authored-by: Andrés Delfino adelfino@gmail.com
* [2.7] Fix a trivial typo in global section (GH-1497) (GH-1882)Mariatta2017-05-311-1/+1
| | | (cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)
* [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)Mariatta2017-05-041-1/+1
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>. (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* [2.7] bpo-15718: Document the upper bound constrain on the __len__ return ↵Serhiy Storchaka2017-04-231-0/+8
| | | | | value. (GH-1256). (#1261) (cherry picked from commit 85157cd89a6edac347a5b6871fcf20c500c6fbbf)
* bpo-29952: Use usual terminology of dict (GH-924)INADA Naoki2017-03-311-1/+1
| | | | s/keys and elements/keys and values/ (cherry picked from commit cdcac039fb447f2ab04efcacbe663751bb2cb4ec)
* bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-883)Mariatta2017-03-291-23/+16
| | | (cherry picked from commit 0ae7c8bd614d3aa1fcaf2d71a10ff1148c80d9b5)
* Issue #12067: Rewrite Comparisons section in the language referenceMartin Panter2017-01-211-39/+161
| | | | | | Some of the details of comparing mixed types were incorrect or ambiguous. Added default behaviour and consistency suggestions for user-defined classes. Based on patch from Andy Maier.
* doc: Suggest to hash(tuple of attr) rather than XORVictor Stinner2016-12-191-2/+6
| | | | | | Issue #28383: __hash__ documentation recommends naive XOR to combine but this is suboptimal. Update the doc to suggest to reuse the hash() method using a tuple, with an example.
* Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-261-1/+1
| | | | in the documentation.
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-2/+2
|
* Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-4/+13
| | | | Patch by Julien Palard.
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed to fix the grammar.
* Issue #24314: Add links for general attributes like __name__, __dict__Martin Panter2016-06-181-30/+31
|
* [Issue 15476] Make "code object" its own entry in the indexTommy Beadle2016-06-021-4/+2
|
* Issue #23275: Backport empty square bracket assignment documentation fixMartin Panter2016-06-081-1/+1
|
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-102-3/+3
| | | | Original patch by James Edwards.
* Issue #23986: Note that the in-operator for lists and tuples check identity ↵Raymond Hettinger2016-04-261-1/+1
| | | | before equality.
* Remove redundant leading zeroes in PEP references.Serhiy Storchaka2016-03-314-5/+5
|
* Python for .NET has moved to Github.Zachary Ware2016-02-041-1/+1
| | | | Reported by Denis Akhiyarov on docs@
* Issue #24531: Document that encoding lines cannot follow non-comment lines.Robert Collins2015-08-061-3/+4
| | | | Patch from Terry Reedy
* the default is sys.maxsize not sys.maxint (closes #23645)Benjamin Peterson2015-03-131-9/+9
|
* Issue20467: clarify __init__'s roleEthan Furman2015-01-151-4/+8
|
* Issue #23006: Improve the documentation and indexing of dict.__missing__.Terry Jan Reedy2014-12-101-0/+6
| | | | | | Add an entry in the language datamodel special methods section. Revise and index its discussion in the stdtypes mapping/dict section. Backport the code example from 3.4.
* Fixing broken links in doc, part 3: the restGeorg Brandl2014-10-291-1/+1
|
* Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-2/+2
|
* remove link to the 'original package specification'; I doubt it's useful ↵Benjamin Peterson2014-10-171-3/+1
| | | | anymore (closes #22657)
* Closes #17057: fix grammar in old-style vs new-style class docs.Georg Brandl2014-10-061-14/+14
|
* Issue 22465: grammar, number agreement.Terry Jan Reedy2014-09-301-1/+1
|
* Issue #20643: Fixed references to the next() method (distinguish from theSerhiy Storchaka2014-09-052-13/+12
| | | | next() function).
* correct call grammar error (#3473)Benjamin Peterson2014-08-281-1/+1
|
* Issue #22243: fix except grammar in reference.Terry Jan Reedy2014-08-231-1/+1
|
* remove confusing delete indexing (closes #21466)Benjamin Peterson2014-05-111-2/+0
|
* Add prompts to interactive example.Zachary Ware2014-05-061-8/+8
| | | | | This makes it match the new example below, and allows Sphinx's "hide the prompts and output" feature to work.
* Issue #21366: Document the fact that ``return`` in a ``finally`` clauseZachary Ware2014-05-061-0/+14
| | | | overrides a ``return`` in the ``try`` suite.
* Closes #21055: Index (augmented) assignment symbols.Terry Jan Reedy2014-04-291-0/+13
|
* Closes 21048: Index 'as' in import and with statements.Terry Jan Reedy2014-04-292-1/+4
|
* #18628: clarify index entry for source file encoding declaration.R David Murray2014-04-171-3/+1
|
* note that the hash of an arbitrary object is only derived from its address ↵Benjamin Peterson2014-04-041-1/+1
| | | | | | (closes #21154) Patch from Armin Rigo.
* Issue #19683: Add __closure__ and other missing attributes to function docs.Mark Dickinson2014-02-011-24/+30
|
* Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
|
* Issue #19190: Improve cross-references in builtin types and functions ↵Serhiy Storchaka2013-10-092-21/+25
| | | | documentation.
* Use "lambda expression" as preferred to "lambda form".Georg Brandl2013-10-062-11/+10
|
* document that various functions that parse from source will interpret things ↵Benjamin Peterson2013-09-011-9/+10
| | | | as latin-1 (closes #18870)