summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29012: Remove outdated information about __bases__Berker Peksag2017-01-021-1/+1
| | | | Patch by Jim Fasarakis-Hilliard.
* Issue #28954: Add missing comma to keyword argument syntaxMartin Panter2016-12-241-1/+1
|
* doc: Suggest to hash(tuple of attr) rather than XORVictor Stinner2016-12-191-5/+8
| | | | | | 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 #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
|
* Issue #26511: Reference the id() function in the 'is' and 'is not' docsRaymond Hettinger2016-09-121-2/+3
|
* Issue 19504: Change "customise" to "customize" American spelling.Raymond Hettinger2016-08-261-2/+2
|
* Issue #27712: Fix some typos in the import docs.Brett Cannon2016-08-121-2/+2
| | | | Thanks to Xiang Zhang for the patch.
* Issue #26576: Clarify that the @deco syntax is not always an equivalent of f ↵Berker Peksag2016-08-031-4/+5
| | | | | | = deco(f) Patch by Chris Angelico.
* Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-262-5/+16
| | | | Patch by Julien Palard.
* Issue #24314: Fix doc links for general attributes like __name__, __dict__Martin Panter2016-06-181-25/+26
|
* Issue #24136: Document generalized unpacking, PEP 448Martin Panter2016-06-122-27/+61
| | | | Based on patches by Konstantin Molchanov and Neil Girdhar.
* [Issue 15476] Make "code object" its own entry in the indexTommy Beadle2016-06-021-4/+2
|
* Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-092-3/+47
|
* Issue #23275: Backport target list assignment documentation fixesMartin Panter2016-06-081-15/+14
|
* #26829: Clarify that namespace is copied to a new __dict__ in instance creation.R David Murray2016-06-031-0/+5
| | | | Patch by Emily Morehouse.
* Issue #27049: fix doc typoNed Deily2016-05-181-1/+1
|
* class definitions only get argument lists (closes #27042)Benjamin Peterson2016-05-171-1/+1
|
* Backed out changeset 71ff2235bb4c (closes #27042)Benjamin Peterson2016-05-171-1/+1
|
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-103-6/+6
| | | | Original patch by James Edwards.
* Issue #26156: Make expressions grammar description more semantically correct.Serhiy Storchaka2016-05-081-2/+2
|
* Fix typos in comments, documentation and test method namesMartin Panter2016-05-081-1/+1
|
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|
* Issue #18572: Remove redundant note about surrogates in string escape docBerker Peksag2016-04-241-2/+1
|
* Remove redundant leading zeroes in PEP references.Serhiy Storchaka2016-03-313-5/+5
|
* Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.Yury Selivanov2016-02-131-0/+4
|
* Python for .NET has moved to Github.Zachary Ware2016-02-041-1/+1
| | | | Reported by Denis Akhiyarov on docs@
* Issue #25500: Fix the language reference to not claim that importBrett Cannon2015-12-041-5/+4
| | | | | | statements search for __import__ in the global scope. Thanks to Sergei Lebedev for finding the documentation bug.
* Merge: #25679: spelling fixR David Murray2015-11-201-3/+2
|\
| * #25679: spelling fixR David Murray2015-11-201-3/+2
| |
* | Issue #25523: Further a-to-an corrections new in 3.5Martin Panter2015-11-021-2/+2
| |
* | Issue #25418: Fix markup in object.__hash__ documentationBerker Peksag2015-10-161-1/+1
|\ \ | |/ | | | | Patch by TAKASE Arihiro.
| * Issue #25418: Fix markup in object.__hash__ documentationBerker Peksag2015-10-161-1/+1
| | | | | | | | Patch by TAKASE Arihiro.
* | Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-102-2/+2
|\ \ | |/
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-102-2/+2
| |
* | Issue #12067: Merge comparisons doc from 3.4 into 3.5Martin Panter2015-09-231-56/+188
|\ \ | |/
| * Issue #12067: Rewrite Comparisons section in the language referenceMartin Panter2015-09-231-56/+188
| | | | | | | | | | | | | | Some of the details of comparing mixed types were incorrect or ambiguous. NotImplemented is only relevant at a lower level than the Expressions chapter. Added details of comparing range() objects, and default behaviour and consistency suggestions for user-defined classes. Patch from Andy Maier.
* | Issue #4395: Better testing and documentation of binary operators.Robert Collins2015-08-061-9/+13
|\ \ | |/ | | | | Patch by Martin Panter.
| * Issue #4395: Better testing and documentation of binary operators.Robert Collins2015-08-061-9/+13
| | | | | | | | Patch by Martin Panter.
* | Issue #24531: Document that encoding lines cannot follow non-comment lines.Robert Collins2015-08-061-2/+4
|\ \ | |/ | | | | Patch from Terry Reedy
| * Issue #24531: Document that encoding lines cannot follow non-comment lines.Robert Collins2015-08-061-2/+4
| | | | | | | | Patch from Terry Reedy
* | Merge issue #24129 from 3.4Nick Coghlan2015-08-051-62/+101
|\ \ | |/
| * Issue #24129: Clarify reference docs for name resolution.Nick Coghlan2015-08-051-62/+101
| | | | | | | | | | | | | | | | This includes removing the assumption that readers will be familiar with the name resolution scheme Python used prior to the introduction of lexical scoping for function namespaces. Patch by Ivan Levkivskyi.
* | docs: Fix productionlist for async def functionsYury Selivanov2015-08-011-1/+1
| |
* | Issue #24713: Use importlib.reload() in import reference document.Berker Peksag2015-07-251-1/+1
|\ \ | |/ | | | | | | | | | | imp.reload() was deprecated in Python 3.4 and changed to call importlib.reload(). Patch by Petr Viktorin.
| * Issue #24713: Use importlib.reload() in import reference document.Berker Peksag2015-07-251-1/+1
| | | | | | | | | | | | | | imp.reload() was deprecated in Python 3.4 and changed to call importlib.reload(). Patch by Petr Viktorin.
* | Issue #24619: New approach for tokenizing async/await.Yury Selivanov2015-07-221-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes how one-line async-defs and defs are tracked by tokenizer. It allows to correctly parse invalid code such as: >>> async def f(): ... def g(): pass ... async = 10 and valid code such as: >>> async def f(): ... async def g(): pass ... await z As a consequence, is is now possible to have one-line 'async def foo(): await ..' functions: >>> async def foo(): return await bar()
* | merge 3.4 (#24610)Benjamin Peterson2015-07-111-1/+1
|\ \ | |/
| * fix normalization example (closes #24610)Benjamin Peterson2015-07-111-1/+1
| | | | | | | | Patch by Chris Angelico
* | upgrade to Unicode 8.0.0Benjamin Peterson2015-06-271-2/+2
| |
* | Issue #24439: Improve PEP 492 related docs.Yury Selivanov2015-06-243-21/+78
| | | | | | | | Patch by Martin Panter.