summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Add -m reference in context of code execution (GH-16045)Julien Palard2019-09-121-1/+3
|
* bpo-35224: Additional documentation for Assignment Expressions (GH-15935)Emily Morehouse2019-09-112-1/+3
| | | | | | | | | | | | | Add or update assignment expression documentation for: - FAQ - Design - Reference - Expressions - Reference - Lexical Analysis https://bugs.python.org/issue35224 Automerge-Triggered-By: @matrixise
* bpo-33459: Fix "tuple displays" term in Expressions.rst (GH-6760)Andre Delfino2019-09-111-4/+4
| | | | | | | https://bugs.python.org/issue33459 Automerge-Triggered-By: @matrixise
* bpo-37913: Link to NotImplemented from new docs (GH-15860)Steve Dower2019-09-101-3/+3
|
* bpo-37913: document that __length_hint__ can return NotImplemented (GH-15383)Jeroen Demeyer2019-09-101-2/+4
|
* bpo-36743: __get__ is sometimes called without the owner argument (#12992)Raymond Hettinger2019-08-291-7/+18
|
* bpo-15542: Documentation incorrectly suggests __init__ called after direct ↵Joannah Nanjekye2019-08-261-4/+4
| | | | __new__ call (GH-15478)
* bpo-32118: Simplify docs for sequence comparison (GH-15450)Raymond Hettinger2019-08-241-19/+7
|
* bpo-29535: Remove promize about hash randomization of datetime objects. ↵Serhiy Storchaka2019-08-241-2/+2
| | | | (GH-15269)
* bpo-32912: Revert SyntaxWarning on invalid escape sequences. (GH-15195)Gregory P. Smith2019-08-101-5/+3
| | | | | | | | | | | | | | | | | | DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. (Applies 4c5b6bac2408f879231c7cd38d67657dd4804e7c to the master branch). (This is https://github.com/python/cpython/pull/15142 for master/3.9) https://bugs.python.org/issue32912 Automerge-Triggered-By: @gpshead
* bpo-35224: Reverse evaluation order of key: value in dict comprehensions ↵Jörn Heissler2019-06-221-0/+6
| | | | | | | | | | | (GH-14139) … as proposed in PEP 572; key is now evaluated before value. https://bugs.python.org/issue35224
* More updates to the annotated assignments docs (GH-13794)Ivan Levkivskyi2019-06-041-4/+3
|
* Update the annotated assignment docs (GH-13757)Ivan Levkivskyi2019-06-021-1/+7
|
* bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108)Serhiy Storchaka2019-06-011-5/+3
|
* bpo-37122: Make co->co_argcount represent the total number of positonal ↵Pablo Galindo2019-06-011-17/+19
| | | | arguments in the code object (GH-13726)
* Use more PEP 570 syntax in the documentation. (GH-13720)Serhiy Storchaka2019-06-011-1/+1
|
* Update data model docs to include missing attributes for code objects (GH-13696)Pablo Galindo2019-05-311-12/+17
| | | Include and document co_posonlyargcount and co_kwonlyargcount
* bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761)Antti Haapala2019-05-301-5/+6
|
* Regenerate topics file (GH-13642)Pablo Galindo2019-05-291-1/+1
|
* bpo-36540: Documentation for PEP570 - Python positional only arguments (#13202)Pablo Galindo2019-05-281-2/+4
| | | | | | | | | | | | | | | | | | * bpo-36540: Documentation for PEP570 - Python positional only arguments * fixup! bpo-36540: Documentation for PEP570 - Python positional only arguments * Update reference for compound statements * Apply suggestions from Carol Co-Authored-By: Carol Willing <carolcode@willingconsulting.com> * Update Doc/tutorial/controlflow.rst Co-Authored-By: Carol Willing <carolcode@willingconsulting.com> * Add extra bullet point and minor edits
* bpo-34682: Wording and grammatical changes to the ↵divyag92019-05-133-13/+13
| | | | | doc(https://docs.python.org/3) (GH-13120) https://bugs.python.org/issue34682
* Correct misspelling (GH-11470)Johnny Gérard2019-05-131-1/+1
|
* closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214)Benjamin Peterson2019-05-091-1/+1
| | | Adds ㋿.
* bpo-36798: Updating f-string docs for := use case (GH-13107)Logan Jones2019-05-061-5/+6
|
* bpo-36166: Change to rst datamodel file. (GH-13089)Catherine Alvarado2019-05-041-2/+2
|
* Improve grammar on async context managers and shorten text (GH-12379)Andre Delfino2019-05-031-4/+4
|
* Don't use the LHS/RHS acronym in Simple statements (GH-12996)Andre Delfino2019-05-031-4/+4
| | | | | Prefer the full wording instead, as it is more meaningful for someone not familiar with the terms. Also, LFS/RHS is not used anywhere else in the documentation, while left/right-hand side mentions are common.
* Namespace packages _bootstrap.ModuleSpec.loader attributes are no longer ↵Géry Ogam2019-05-011-6/+5
| | | | | | | | | None (#10376) Namespace packages _bootstrap.ModuleSpec.loader attributes are no longer `None` _after_ calling the importlib._bootstrap._init_module_attrs function. See: * https://stackoverflow.com/questions/52869541/namespace-package-spec-loader-and-loader-attributes-not-set-to-none * https://bugs.python.org/issue35181
* bpo-30840: Document relative imports (#12831)Joannah Nanjekye2019-04-242-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | * document relative imports * 📜🤖 Added by blurb_it. * fix indentation error * remove indentation * Document relative imports * Document relative imports * remove from ...package * Document relative imports * remove trailing space * Document relative imports * Document relative imports
* Doc: Fixed missing punctuation in datamodel.rst (GH-12581)Jules Lasne (jlasne)2019-03-271-14/+14
|
* closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)Benjamin Peterson2019-03-101-1/+1
|
* closes bpo-36188: Clean up 'unbound' method left-overs. (GH-12169)Martijn Pieters2019-03-051-6/+0
| | | | | | | | | | Methods are always bound, and `__self__` can no longer be `NULL` (`method_new()` and `PyMethod_New()` both explicitly check for this). Moreover, once a bound method is bound, it *stays* bound and won't be re-bound to something else, so the section in the datamodel that talks about accessing an methods in a different descriptor-binding context doesn't apply any more in Python 3.
* Document other performance implication for __slots__ (GH-11974)Raymond Hettinger2019-02-211-0/+1
|
* bpo-35911: add cell constructor (GH-11771)Pierre Glaser2019-02-071-1/+3
| | | | Add a cell constructor, expose the cell type in the types module.
* bpo-35566: Add links to annotation glossary term (GH-11291)Cheryl Sabella2018-12-242-4/+4
|
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-196-112/+110
|
* Correct a couple of unbalanced parenthesis. (GH-10779)Andre Delfino2018-12-051-1/+1
|
* Move __missing__ after __delitem__ in Data model. (GH-10923)Andre Delfino2018-12-051-8/+8
|
* Fix outdated info in datamodel about dicts (GH-9807)wim glenn2018-11-161-2/+2
|
* bpo-33816: Remove outdated metaclass example (GH-7566)Andrés Delfino2018-11-161-34/+2
|
* bpo-33878: Doc: Fix missing case by simplifying. (GH-7762)Julien Palard2018-11-111-6/+3
| | | | | The documentation was not covering multiple targets enclosed by parenthesis nor multiple targets enclosed by brackets, adding them all would be heavy, an else cover them all and is lighter to read.
* bpo-33699: Describe try's else clause with the rest of the try clause (GH-7252)Andrés Delfino2018-11-111-7/+5
| | | https://bugs.python.org/issue33699
* Add link to PEP 525 in Expressions. (GH-10333)Andrés Delfino2018-11-071-1/+5
|
* Add future_stmt to simple_stmt production list. (GH-8239)Andrés Delfino2018-11-071-0/+1
|
* Mark -c and -O as command line options in reStructuredText. (GH-10103)Andrés Delfino2018-11-073-3/+3
|
* bpo-35119: Fix RecursionError in example of customizing module attribute ↵Denis Osipov2018-11-061-1/+1
| | | | | access. (GH-10323) https://bugs.python.org/issue35119
* bpo-35054: Add yet more index entries for symbols. (GH-10121)Serhiy Storchaka2018-10-285-93/+80
|
* Fix mistakes on function coroutines related definitions (GH-9871)Andrés Delfino2018-10-281-8/+8
| | | | | | | Fix a bug I introduced in #9864 by which coroutines are treated as synonymous of function coroutines. Also, fix the same mistake (coroutines == function coroutines) already present in other parts of the reference. I'm very sorry for the hassle.
* bpo-35054: Add more index entries for symbols. (GH-10064)Serhiy Storchaka2018-10-267-49/+230
|
* bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)Andrés Delfino2018-10-192-2/+17
|