summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30736: upgrade to Unicode 10.0 (#2344)Benjamin Peterson2017-06-231-2/+2
| | | Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
* bpo-30486: Allow setting cell value (#1840)Lisa Roach2017-06-081-0/+6
| | | The cell_contents attribute of the cell object is now writable.
* bpo-17188: add missing periods at the end of sentences (GH-1875)Mariatta2017-05-301-2/+2
|
* Improve grammar in The Import System documentation (GH-1862)kms708472017-05-301-6/+6
| | | | Replace `an ModuleNotFoundError` with `a ModuleNotFoundError`. Replace `an path` with `a path`.
* bpo-30449 Terse slots (#1819)Aaron Hall, MBA2017-05-261-14/+15
| | | | | | | | * correct __slots__ documentation with minimal changes * add multiple inheritance info * remove mapping from description
* bpo-30372: Clarify that '__builtins__' is a CPython Implementation detail ↵Naomi Ceder2017-05-221-9/+9
| | | | (GH-1725)
* bpo-17188: DOC: Document 'from None' in raise statement (#1671)csabella2017-05-201-2/+20
| | | | | Original patch by Dennis Mårtensson.
* Fix typos in multiple `.rst` files (#1668)delirious-lettuce2017-05-191-1/+1
|
* Fix ModuleNotFoundError typo in import reference (#1606)Dominik Miedziński2017-05-161-1/+1
|
* bpo-30354: Update data model documentation for super() (GH-1561)csabella2017-05-151-6/+6
| | | | | | | | | | The data model section of the language reference was written well before the zero-argument form of super() was added. To avoid giving the impression that they're doing something unusual, this updates the description of `__new__` and `__init__` to use the zero-argument form. Patch by Cheryl Sabella.
* bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506)Serhiy Storchaka2017-05-131-0/+4
| | | | rather than `format(str(self), '')`.
* Fix a trivial typo in global section (#1497)Jim Fasarakis-Hilliard2017-05-081-1/+1
|
* bpo-28315: Improve code examples in docs (GH-1372)UltimateCoder2017-05-031-1/+1
| | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>
* bpo-29679: Implement @contextlib.asynccontextmanager (#360)Jelle Zijlstra2017-05-011-0/+2
|
* bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271)csabella2017-04-261-8/+8
| | | | | | | | | | Builtin container types have two potential link targets in the docs: - their entry in the list of builtin callables - their type documentation This change brings `bytes` and `bytearray` into line with other container types by having cross-references default to linking to their type documentation, rather than their builtin callable entry.
* bpo-30144: Import collections ABC from collections.abc rather than ↵Serhiy Storchaka2017-04-241-3/+3
| | | | collections. (#1263)
* bpo-15718: Document the upper bound constrain on the __len__ return value. ↵Serhiy Storchaka2017-04-231-0/+9
| | | | (#1256)
* Remove outdated note about constraining of the bit shift right operand. (#1258)Serhiy Storchaka2017-04-221-5/+0
| | | The constrain was removed in bpo-29816.
* bpo-29952: Use usual terminology of dict (GH-917)cocoatomo2017-03-311-1/+1
| | | s/keys and elements/keys and values/
* bpo-16011 clarify that 'in' always returns a boolean valueAmit Kumar2017-03-281-9/+10
|
* Remove an outdated statement in execution model docs (GH-754)Ivan Levkivskyi2017-03-231-6/+0
|
* bpo-28739: Document that f-strings cannot be used as docstring (GH-592)Mariatta2017-03-101-0/+11
|
* bpo-26184: import.rst: Improve versionchanged note (GH-325)Mariatta2017-02-261-1/+1
|
* bpo-26184: import.rst: Improve versionchanged note (GH-277)Mariatta2017-02-261-2/+5
| | | | Mention that an ImportError is raised when exec_module() is defined, but create_module() is not.
* bpo-29648: import.rst: Add reference to create_module() (GH-290)Marco Buttu2017-02-261-1/+1
| | | Add a reference to create_module(), in the first versionadded of section Loaders.
* Fix small typos in expressions.rst (GH-276)Jim Fasarakis-Hilliard2017-02-241-2/+2
|
* Issues #12067: Merge hash recommendation from 3.5Martin Panter2017-01-291-0/+4
|\
| * Issue #12067: Recommend that hash and equality be consistentMartin Panter2017-01-291-0/+4
| |
* | Issue #29012: Merge from 3.5Berker Peksag2017-01-031-5/+4
|\ \ | |/
| * Issue #29012: Remove another outdated informationBerker Peksag2017-01-031-3/+3
| | | | | | | | Patch by Jim Fasarakis-Hilliard.
* | Issue #29012: Merge from 3.5Berker Peksag2017-01-021-1/+1
|\ \ | |/
| * Issue #29012: Remove outdated information about __bases__Berker Peksag2017-01-021-1/+1
| | | | | | | | Patch by Jim Fasarakis-Hilliard.
* | Issue #28954: Merge keyword argument syntax from 3.5Martin Panter2016-12-241-1/+1
|\ \ | |/
| * Issue #28954: Add missing comma to keyword argument syntaxMartin Panter2016-12-241-1/+1
| |
* | Merge 3.5Victor Stinner2016-12-191-5/+8
|\ \ | |/
| * 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 #28091: Document PEP 525 & PEP 530.Yury Selivanov2016-12-154-4/+187
| | | | | | | | Patch by Eric Appelt.
* | Issue #23722: improve __classcell__ compatibilityNick Coghlan2016-12-051-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handling zero-argument super() in __init_subclass__ and __set_name__ involved moving __class__ initialisation to type.__new__. This requires cooperation from custom metaclasses to ensure that the new __classcell__ entry is passed along appropriately. The initial implementation of that change resulted in abruptly broken zero-argument super() support in metaclasses that didn't adhere to the new requirements (such as Django's metaclass for Model definitions). The updated approach adopted here instead emits a deprecation warning for those cases, and makes them work the same way they did in Python 3.5. This patch also improves the related class machinery documentation to cover these details and to include more reader-friendly cross-references and index entries.
* | Another en → em dash fix for 3.6Martin Panter2016-11-211-1/+1
| |
* | Update docs to reflect new behavior around backslashes in expressions (not ↵Jason R. Coombs2016-11-061-7/+12
| | | | | | | | allowed), matching recent changes to PEP 498.
* | Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
|\ \ | |/
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
| |
* | mergeRaymond Hettinger2016-09-121-2/+3
|\ \ | |/
| * Issue #26511: Reference the id() function in the 'is' and 'is not' docsRaymond Hettinger2016-09-121-2/+3
| |
* | Issue #28076: Variable annotations should be mangled for private names.Guido van Rossum2016-09-111-3/+4
| | | | | | | | By Ivan Levkivskyi.
* | Issue #26331: Implement the parsing part of PEP 515.Brett Cannon2016-09-091-16/+29
| | | | | | | | Thanks to Georg Brandl for the patch.
* | Doc updates for PEPs 520 and 468.Eric Snow2016-09-091-3/+3
| |
* | Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.Guido van Rossum2016-09-091-2/+3
| | | | | | | | Patch by Ivan Levkivskyi.
* | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Yury Selivanov2016-09-092-14/+65
| | | | | | | | Patch by Ivan Levkivskyi.
* | Issue #24254: Drop cls.__definition_order__.Eric Snow2016-09-082-16/+3
| |