summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35224: Reverse evaluation order of key: value in dict comprehensions ↵Miss Islington (bot)2019-06-221-0/+6
| | | | | | | | | | (GH-14139) … as proposed in PEP 572; key is now evaluated before value. https://bugs.python.org/issue35224 (cherry picked from commit c8a35417db8853a253517a3e5190e174075c6384) Co-authored-by: Jörn Heissler <joernheissler@users.noreply.github.com>
* 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
|
* bpo-32912: Replace a DeprecationWarning with a SyntaxWarning (GH-9652)Serhiy Storchaka2018-10-191-2/+5
| | | | for invalid escape sequences in string and bytes literals.
* Update compound_stmts.rst (#9864)Andrés Delfino2018-10-141-4/+4
|
* closes bpo-28955: Clarified comparisons between NaN and number in reference ↵Tony Flury2018-09-141-6/+5
| | | | | | documentation (GH-5982) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* Fix HTML formatting in datamodel.rst (GH-8693)Berker Peksag2018-08-061-3/+3
|
* Use 'for example' instead of 'in other words' in compound statement doc ↵Andrés Delfino2018-07-301-1/+1
| | | | (GH-8401)
* Fix typo: variables(s) (GH-8482)Andrés Delfino2018-07-261-1/+1
| | | Remove extra `(s)` in the documentation of `compound_stmts`.
* bpo-33702: Add some missing links in production lists and do a little polish ↵Andrés Delfino2018-07-073-25/+25
| | | | (GH-7259)
* bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)Andrés Delfino2018-06-221-5/+6
| | | The statement is true for Windows (and macOS) also.
* bpo-33847: Add '@' operator entry to index (GH-7669)Andrés Delfino2018-06-151-1/+3
|
* bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672)Andrés Delfino2018-06-151-1/+1
| | | 'expresson list' refers to the grammar term 'expression_list' in the subscription production.