summaryrefslogtreecommitdiff
path: root/Doc/reference
AgeCommit message (Collapse)AuthorLines
2018-12-05[2.7] Move __missing__ after __delitem__ in Data model. (GH-10923). (GH-10944)Andre Delfino-6/+6
(cherry picked from commit 1ce853f37783575e2b3aaa159ddcebc8660830ef) Co-authored-by: Andre Delfino <adelfino@gmail.com>
2018-11-11[2.7] bpo-33699: Describe try's else clause with the rest of the try clause ↵Andrés Delfino-7/+5
(GH-7252) (GH-10469) https://bugs.python.org/issue33699 (cherry picked from commit b086c8afdb8c862011e3e27d4c8f6833749f2c56) https://bugs.python.org/issue33699
2018-11-07Add future_stmt to simple_stmt production list. (GH-8239)Miss Islington (bot)-0/+1
(cherry picked from commit cdb96f45b61a40a7e7c4c83b4b1f14ef6f5cf4fa) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-07-30[2.7] Use 'for example' instead of 'in other words' in compound statement ↵Andrés Delfino-1/+1
doc (GH-8401) (cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-06-22[2.7] bpo-33877: Remove UNIX qualification for running complete programs ↵Andrés Delfino-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>
2018-06-15[2.7] bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672) (#7716)Andrés Delfino-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>
2018-06-09bpo-33766: Document that end of file or string is a newline (GH-7383)Miss Islington (bot)-5/+6
(cherry picked from commit 0aa17ee6a76df0946d42e7657a501f1862065a22) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
2018-05-25[2.7] bpo-33595: Fix lambda parameters being refered as arguments (GH-7037) ↵Terry Jan Reedy-2/+2
(GH-7122) (cherry picked from commit 268cc7c) Co-authored-by: Andrés Delfino adelfino@gmail.com
2017-05-30[2.7] Fix a trivial typo in global section (GH-1497) (GH-1882)Mariatta-1/+1
(cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)
2017-05-03[2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)Mariatta-1/+1
Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>. (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
2017-04-23[2.7] bpo-15718: Document the upper bound constrain on the __len__ return ↵Serhiy Storchaka-0/+8
value. (GH-1256). (#1261) (cherry picked from commit 85157cd89a6edac347a5b6871fcf20c500c6fbbf)
2017-03-31bpo-29952: Use usual terminology of dict (GH-924)INADA Naoki-1/+1
s/keys and elements/keys and values/ (cherry picked from commit cdcac039fb447f2ab04efcacbe663751bb2cb4ec)
2017-03-29bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-883)Mariatta-22/+15
(cherry picked from commit 0ae7c8bd614d3aa1fcaf2d71a10ff1148c80d9b5)
2017-01-21Issue #12067: Rewrite Comparisons section in the language referenceMartin Panter-33/+155
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.
2016-12-19doc: Suggest to hash(tuple of attr) rather than XORVictor Stinner-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.
2016-11-26Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka-1/+1
in the documentation.
2016-10-19Issue #19795: Mark up None as literal text.Serhiy Storchaka-2/+2
2016-07-26Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.Martin Panter-4/+13
Patch by Julien Palard.
2015-11-02Issue #25523: Correct "a" article to "an" articleMartin Panter-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.
2016-06-18Issue #24314: Add links for general attributes like __name__, __dict__Martin Panter-30/+31
2016-06-02[Issue 15476] Make "code object" its own entry in the indexTommy Beadle-4/+2
2016-06-08Issue #23275: Backport empty square bracket assignment documentation fixMartin Panter-1/+1
2016-05-10Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka-3/+3
Original patch by James Edwards.
2016-04-26Issue #23986: Note that the in-operator for lists and tuples check identity ↵Raymond Hettinger-1/+1
before equality.
2016-03-31Remove redundant leading zeroes in PEP references.Serhiy Storchaka-5/+5
2016-02-03Python for .NET has moved to Github.Zachary Ware-1/+1
Reported by Denis Akhiyarov on docs@
2015-08-06Issue #24531: Document that encoding lines cannot follow non-comment lines.Robert Collins-3/+4
Patch from Terry Reedy
2015-03-13the default is sys.maxsize not sys.maxint (closes #23645)Benjamin Peterson-9/+9
2015-01-14Issue20467: clarify __init__'s roleEthan Furman-4/+8
2014-12-10Issue #23006: Improve the documentation and indexing of dict.__missing__.Terry Jan Reedy-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.
2014-10-29Fixing broken links in doc, part 3: the restGeorg Brandl-1/+1
2014-10-29Use https:// URLs when referring to python.org hosts.Georg Brandl-2/+2
2014-10-17remove link to the 'original package specification'; I doubt it's useful ↵Benjamin Peterson-3/+1
anymore (closes #22657)
2014-10-06Closes #17057: fix grammar in old-style vs new-style class docs.Georg Brandl-13/+13
2014-09-30Issue 22465: grammar, number agreement.Terry Jan Reedy-1/+1
2014-09-05Issue #20643: Fixed references to the next() method (distinguish from theSerhiy Storchaka-13/+12
next() function).
2014-08-28correct call grammar error (#3473)Benjamin Peterson-1/+1
2014-08-23Issue #22243: fix except grammar in reference.Terry Jan Reedy-1/+1
2014-05-11remove confusing delete indexing (closes #21466)Benjamin Peterson-2/+0
2014-05-06Add prompts to interactive example.Zachary Ware-8/+8
This makes it match the new example below, and allows Sphinx's "hide the prompts and output" feature to work.
2014-05-06Issue #21366: Document the fact that ``return`` in a ``finally`` clauseZachary Ware-0/+14
overrides a ``return`` in the ``try`` suite.
2014-04-29Closes #21055: Index (augmented) assignment symbols.Terry Jan Reedy-0/+13
2014-04-29Closes 21048: Index 'as' in import and with statements.Terry Jan Reedy-1/+4
2014-04-16#18628: clarify index entry for source file encoding declaration.R David Murray-3/+1
2014-04-04note that the hash of an arbitrary object is only derived from its address ↵Benjamin Peterson-1/+1
(closes #21154) Patch from Armin Rigo.
2014-02-01Issue #19683: Add __closure__ and other missing attributes to function docs.Mark Dickinson-24/+30
2013-11-29Issue #19795: Improved markup of True/False constants.Serhiy Storchaka-1/+1
2013-10-09Issue #19190: Improve cross-references in builtin types and functions ↵Serhiy Storchaka-21/+25
documentation.
2013-10-06Use "lambda expression" as preferred to "lambda form".Georg Brandl-11/+10
2013-09-01document that various functions that parse from source will interpret things ↵Benjamin Peterson-9/+10
as latin-1 (closes #18870)