summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* Anti-registration of various ABC methods.Guido van Rossum2016-08-181-1/+18
| | | | | | | | | | - Issue #25958: Support "anti-registration" of special methods from various ABCs, like __hash__, __iter__ or __len__. All these (and several more) can be set to None in an implementation class and the behavior will be as if the method is not defined at all. (Previously, this mechanism existed only for __hash__, to make mutable classes unhashable.) Code contributed by Andrew Barnert and Ivan Levkivskyi.
* Merge for issue #27712Brett Cannon2016-08-121-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: Merge from 3.5Berker Peksag2016-08-031-4/+5
|\ \ | |/
| * 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 27366: PEP 487 docs updatesNick Coghlan2016-07-311-0/+7
| | | | | | | | | | - Porting note for type keyword arg handling - __init_subclass__ note regarding metaclass hint
* | Issue #27366: Tweak PEP 487 documentationBerker Peksag2016-07-301-0/+5
| | | | | | | | | | | | * Added versionadded directives * Deleted duplicate sentence from __init_subclass__ docstring * Modernized tests
* | Issue #27366: Implement PEP 487Nick Coghlan2016-07-301-1/+42
| | | | | | | | | | | | - __init_subclass__ called when new subclasses defined - __set_name__ called when descriptors are part of a class definition
* | Issue #26462: Merge code block fixes from 3.5Martin Panter2016-07-292-5/+16
|\ \ | |/
| * Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-262-5/+16
| | | | | | | | Patch by Julien Palard.
* | Issue #24314: Merge doc links from 3.5Martin Panter2016-06-181-25/+26
|\ \ | |/
| * Issue #24314: Fix doc links for general attributes like __name__, __dict__Martin Panter2016-06-181-25/+26
| |
* | Issue #24136: Adjust f-strings doc for interable unpackingMartin Panter2016-06-121-1/+2
| |
* | Issue #24136: Merge unpacking doc from 3.5Martin Panter2016-06-122-27/+61
|\ \ | |/
| * Issue #24136: Document generalized unpacking, PEP 448Martin Panter2016-06-122-27/+61
| | | | | | | | Based on patches by Konstantin Molchanov and Neil Girdhar.
* | Issue #15476: Merge index entries from 3.5Martin Panter2016-06-091-4/+2
|\ \ | |/
| * [Issue 15476] Make "code object" its own entry in the indexTommy Beadle2016-06-021-4/+2
| |
* | Merge 3.5 (issue #27243)Yury Selivanov2016-06-092-3/+47
|\ \ | |/
| * Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-092-3/+47
| |
| * Issue #23275: Backport target list assignment documentation fixesMartin Panter2016-06-081-15/+14
| |
* | Merge: #26829: Clarify that namespace is copied to a new __dict__ in ↵R David Murray2016-06-031-0/+5
|\ \ | |/ | | | | instance creation.
| * #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 #23275: Allow () = iterable assignment syntaxBerker Peksag2016-05-181-16/+15
| | | | | | | | Documentation updates by Martin Panter.
* | Issue #27049: fix doc typoNed Deily2016-05-181-1/+1
|\ \ | |/
| * Issue #27049: fix doc typoNed Deily2016-05-181-1/+1
| |
* | merge 3.5 (#27042)Benjamin Peterson2016-05-171-2/+2
|\ \ | |/
| * 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 #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
|\ \ | |/
| * Issue #26156: Make expressions grammar description more semantically correct.Serhiy Storchaka2016-05-081-2/+2
| |
* | Merge typo fixes from 3.5Martin Panter2016-05-081-1/+1
|\ \ | |/
| * 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 #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
|\ \ | |/
| * 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
|\ \ | |/
| * Remove redundant leading zeroes in PEP references.Serhiy Storchaka2016-03-313-5/+5
| |
* | Merge 3.5 (issue #25887)Yury Selivanov2016-02-131-0/+4
|\ \ | |/
| * Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.Yury Selivanov2016-02-131-0/+4
| |
* | Issue #25179: Documentation for formatted string literals aka f-stringsMartin Panter2016-02-132-4/+109
| | | | | | | | | | Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation.
* | Merge with 3.5Zachary Ware2016-02-041-1/+1
|\ \ | |/
| * Python for .NET has moved to Github.Zachary Ware2016-02-041-1/+1
| | | | | | | | Reported by Denis Akhiyarov on docs@
* | Issue #25791: Warn when __package__ != __spec__.parent.Brett Cannon2016-01-221-4/+14
| | | | | | | | | | | | | | | | | | In a previous change, __spec__.parent was prioritized over __package__. That is a backwards-compatibility break, but we do eventually want __spec__ to be the ground truth for module details. So this change reverts the change in semantics and instead raises an ImportWarning when __package__ != __spec__.parent to give people time to adjust to using spec objects.
* | Issue #25791: Raise an ImportWarning when __spec__ or __package__ areBrett Cannon2016-01-151-1/+2
| | | | | | | | | | | | | | | | not defined for a relative import. This is the start of work to try and clean up import semantics to rely more on a module's spec than on the myriad attributes that get set on a module. Thanks to Rose Ames for the patch.
* | Merge for issue #25500Brett Cannon2015-12-041-5/+4
|\ \ | |/
| * 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
|\ \ | |/