summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* bpo-17422: slightly more precise language (GH-18682)Miss Islington (bot)2020-03-101-1/+1
| | | | | (cherry picked from commit e59334ebc9308b0f3ad048ef293c6b49e6456d1a) Co-authored-by: Caleb Donovick <cdonovick@users.noreply.github.com>
* bpo-17422: Language reference should specify restrictions on class namespace ↵Miss Islington (bot)2020-02-221-2/+4
| | | | | | | | (GH-18559) The language reference now specifies restrictions on class namespaces. Adapted from a patch by Ethan Furman. (cherry picked from commit fbe2e0bb8a7ee75d0f9d57682436dac7d69e202e) Co-authored-by: ananthan-123 <ananthakrishnan15.2001@gmail.com>
* bpo-39545: Document changes in the support of await in f-strings. (GH-18456)Miss Islington (bot)2020-02-141-0/+5
| | | | | | https://bugs.python.org/issue39545 (cherry picked from commit f632736023502816f2e6bd714d1b48c81aa2ccc1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Improve grammar in the import system reference documentation (GH-18209)Miss Islington (bot)2020-02-101-1/+1
| | | | | | | | Replaced the period with a comma. Automerge-Triggered-By: @Mariatta (cherry picked from commit d47d0c8e9f2ca0f9f5d1bf0b35006a9a4d5ca684) Co-authored-by: Bonifacio de Oliveira <bonifacio.segundo@gmail.com>
* bpo-15243: Document __prepare__ as classmethod (GH-17124)Miss Islington (bot)2020-01-251-1/+2
| | | | | | (cherry picked from commit 7de617455ed788e6730c40cf854c4b72b0432194) Co-authored-by: alclarks <57201106+alclarks@users.noreply.github.com>
* Fix the parameter list of object. _rpow_ (GH-GH-16477)Miss Islington (bot)2020-01-051-1/+1
| | | | | (cherry picked from commit abc0c4fa9970931849b3da598c5980a5b170661e) Co-authored-by: HongWeipeng <961365124@qq.com>
* [3.7] bpo-38316: Fix co_stacksize documentation (GH-16983). (GH-17660)Batuhan Taşkaya2019-12-191-2/+2
| | | | | | | | | | | | | | | (cherry picked from commit d587272fe3b0fcad2f23a490e76f9f82ca7d64ef) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> https://bugs.python.org/issue38316 Automerge-Triggered-By: @vstinner
* bpo-38524: clarify example a bit and improve formatting (GH-17406)Miss Islington (bot)2019-11-281-5/+8
| | | | | (cherry picked from commit 02519f75d15b063914a11351da30178ca4ceb54b) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-38524: document implicit and explicit calling of descriptors' ↵Miss Islington (bot)2019-11-271-1/+12
| | | | | | | __set_name__ (GH-17364) (cherry picked from commit 1bddf890e595a865414645c6041733043c4081f8) Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
* bpo-25866: Minor cleanups to "sequence" in docs (GH-17177) (GH-17209)Miss Islington (bot)2019-11-171-5/+9
| | | | | (cherry picked from commit 4544e78ec4558b75bf95e5b7dfc1b5bbb07ae5f0) Co-authored-by: alclarks <57201106+alclarks@users.noreply.github.com>
* Fix minor typos. (GH-17095)Miss Islington (bot)2019-11-131-3/+3
| | | | | (cherry picked from commit 2d56af7a94fe7ec0bdf3011652558ae1b889b4a8) Co-authored-by: Shu <23287722+susan-shu-c@users.noreply.github.com>
* bpo-33459: Fix "tuple displays" term in Expressions.rst (GH-6760) (GH-15939)Miss Islington (bot)2019-09-111-4/+4
| | | | | | | | https://bugs.python.org/issue33459 Automerge-Triggered-By: @matrixise (cherry picked from commit dc269971091710563a0d730a0d4b084901826c15) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-37913: document that __length_hint__ can return NotImplemented (GH-15383)Steve Dower2019-09-101-1/+3
|
* bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761)Miss Islington (bot)2019-05-301-5/+6
| | | | | (cherry picked from commit 2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8) Co-authored-by: Antti Haapala <antti@haapala.name>
* [3.7] bpo-34682: Wording and grammatical changes to the ↵Stéphane Wirtel2019-05-133-13/+13
| | | | | | | | doc(https://docs.python.org/3) (GH-13120) (GH-13281) https://bugs.python.org/issue34682 (cherry picked from commit 778a9107586e29421af3a08209cf0b557c1fe5bc) Co-authored-by: divyag9 <divyam9@gmail.com>
* bpo-36166: Change to rst datamodel file. (GH-13089) (#13094)Miss Islington (bot)2019-05-051-2/+2
| | | | | (cherry picked from commit 5e98f05e55d13981c7c92fb14b9c013e4227c3c1) Co-authored-by: Catherine Alvarado <catherine@qventus.com>
* bpo-30840: Document relative imports (GH-12831) (GH-12938)Miss Islington (bot)2019-04-242-1/+42
| | | | | | * Document relative imports (cherry picked from commit 70bf713617e15fad390ed953e48b3c65d9bc90ec) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
* Doc: Fixed missing punctuation in datamodel.rst (GH-12581)Miss Islington (bot)2019-03-271-14/+14
| | | | | (cherry picked from commit 1fc5bf2ff27b898e8d9460d0fbc791e83009ed71) Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
* Document other performance implication for __slots__ (GH-11974) (GH-11975)Miss Islington (bot)2019-02-211-0/+1
| | | | | (cherry picked from commit 7463884f6993edcd92bec56213ee1959034fd31c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-35566: Add links to annotation glossary term (GH-11291) (GH-11302)Miss Islington (bot)2018-12-242-4/+4
|
* [3.7] bpo-35506: Remove redundant and incorrect links from keywords. ↵Serhiy Storchaka2018-12-196-113/+111
| | | | | | (GH-11174). (GH-11232) (cherry picked from commit 2b57c43f21f891df4c6f2294a3b9e1b9029a16b6)
* Correct a couple of unbalanced parenthesis. (GH-10779)Miss Islington (bot)2018-12-051-1/+1
| | | | | (cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Move __missing__ after __delitem__ in Data model. (GH-10923)Miss Islington (bot)2018-12-051-8/+8
| | | | | (cherry picked from commit 1ce853f37783575e2b3aaa159ddcebc8660830ef) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Fix outdated info in datamodel about dicts (GH-9807)Miss Islington (bot)2018-11-161-2/+2
| | | | | (cherry picked from commit a48e0eb9673ec96d1decb8a230331533cfb6138b) Co-authored-by: wim glenn <wim.glenn@gmail.com>
* bpo-33816: Remove outdated metaclass example (GH-7566)Miss Islington (bot)2018-11-161-34/+2
| | | | | (cherry picked from commit c2ccac7b9f9a1132ca36255b0ddfeecef4371aa3) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33878: Doc: Fix missing case by simplifying. (GH-7762)Miss Islington (bot)2018-11-121-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. (cherry picked from commit 082875dcd6d482558e5f1da97a1c801d60b3ed5b) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-33699: Describe try's else clause with the rest of the try clause (GH-7252)Miss Islington (bot)2018-11-111-7/+5
| | | | | | https://bugs.python.org/issue33699 (cherry picked from commit b086c8afdb8c862011e3e27d4c8f6833749f2c56) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Add link to PEP 525 in Expressions. (GH-10333)Miss Islington (bot)2018-11-071-1/+5
| | | | | (cherry picked from commit bfe1839aa994f0d84471254418a4ecfa7c7c9b9c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Add future_stmt to simple_stmt production list. (GH-8239)Miss Islington (bot)2018-11-071-0/+1
| | | | | (cherry picked from commit cdb96f45b61a40a7e7c4c83b4b1f14ef6f5cf4fa) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Mark -c and -O as command line options in reStructuredText. (GH-10103)Miss Islington (bot)2018-11-073-3/+3
| | | | | (cherry picked from commit ea6a28c9f7e4baa5fe775cebce697a14a7d7da8b) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-35119: Fix RecursionError in example of customizing module attribute ↵Miss Islington (bot)2018-11-061-1/+1
| | | | | | | | access. (GH-10323) https://bugs.python.org/issue35119 (cherry picked from commit 0bee3c36d406e47fa9f99cfc1e07b701512c4f3f) Co-authored-by: Denis Osipov <osipov_d@list.ru>
* bpo-35054: Add yet more index entries for symbols. (GH-10121) (GH-10171)Miss Islington (bot)2018-10-285-93/+80
| | | | | (cherry picked from commit 913876d824d969f8c7431e8a9d4610a9a11a786e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Fix mistakes on function coroutines related definitions (GH-9871)Miss Islington (bot)2018-10-281-8/+8
| | | | | | | | | | Fix a bug I introduced in GH-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. (cherry picked from commit 95f68b10d5c9852ef4dcf5b9f2ae15fdf74e8f1c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [3.7] bpo-35054: Add more index entries for symbols. (GH-10064). (GH-10120)Serhiy Storchaka2018-10-267-49/+230
| | | | | (cherry picked from commit ddb961d2abe5d5fde76d85b21a77e4e91e0043ad) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)Miss Islington (bot)2018-10-192-2/+17
| | | | | (cherry picked from commit 0f14fc1a7cb2ea0012d0a943e4460acdee2108d7) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Update compound_stmts.rst (GH-9864) (GH-9869)Miss Islington (bot)2018-10-141-4/+4
| | | | | (cherry picked from commit c8bb467f4006fbf5d24d2491248bcbabee5d827e) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* closes bpo-28955: Clarified comparisons between NaN and number in reference ↵Miss Islington (bot)2018-09-141-6/+5
| | | | | | | | documentation (GH-5982) Co-authored-by: Benjamin Peterson <benjamin@python.org> (cherry picked from commit ad8a0004206ba7aec5a8a60fce413da718080db2) Co-authored-by: Tony Flury <anthony.flury@btinternet.com>
* Fix HTML formatting in datamodel.rst (GH-8693)Miss Islington (bot)2018-08-061-3/+3
| | | | | (cherry picked from commit 3c1b590472d567e22a607ba31271865cd90c8e9b) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* Use 'for example' instead of 'in other words' in compound statement doc ↵Miss Islington (bot)2018-07-301-1/+1
| | | | | | | (GH-8401) (cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33702: Add some missing links in production lists and do a little polish ↵Miss Islington (bot)2018-07-073-25/+25
| | | | | | | (GH-7259) (cherry picked from commit caccca78e46bf3c3b24e09b3afb1c1b08c39990c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)Miss Islington (bot)2018-06-221-5/+6
| | | | | | The statement is true for Windows (and macOS) also. (cherry picked from commit c9d43c702a53804c23ecb22a0dbf6a47c804d2b1) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33847: Add '@' operator entry to index (GH-7669)Miss Islington (bot)2018-06-151-1/+3
| | | | | (cherry picked from commit 695118600fecaa7b95634e168ad7cbbc561fd1ec) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672)Miss Islington (bot)2018-06-151-1/+1
| | | | | | 'expresson list' refers to the grammar term 'expression_list' in the subscription production. (cherry picked from commit 4fddd4e4069aad9efad999d8d9ce3cd9fb523a5c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33766: Document that end of file or string is a newline (GH-7383)Miss Islington (bot)2018-06-101-5/+6
| | | | | (cherry picked from commit 0aa17ee6a76df0946d42e7657a501f1862065a22) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
* update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) (GH-7470)Miss Islington (bot)2018-06-071-2/+2
| | | | | | Also, standardize indentation of generated tables. (cherry picked from commit 7c69c1c0fba8c1c8ff3969bce4c1135736a4cc58) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* Fix typo in datamodel.rst (GH-6964)Miss Islington (bot)2018-06-021-1/+1
| | | | | | This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...". (cherry picked from commit 00818c8ffd657f9ec727e366bfffd9c2135fa5ab) Co-authored-by: Zach Mitchell <zmitchell@users.noreply.github.com>
* Fix lambda parameters being refered as arguments (GH-7037)Miss Islington (bot)2018-05-221-2/+2
| | | | | (cherry picked from commit 268cc7c3f8f58075b42ff0cd6b6c6c5d76044895) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-23722: Fix docs for future __classcell__ changes. (GH-6999) (GH-7000)Miss Islington (bot)2018-05-201-1/+1
| | | | | (cherry picked from commit 8ae8e6af37f29163ee263e293570cb892dc5b5d5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.7] bpo-32996: The bulk of What's New in Python 3.7 (GH-6978). (GH-6998)Elvis Pranskevichus2018-05-201-0/+2
| | | | | (cherry picked from commit 63536bd286097e770909052052a21804a5e09b66) Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
* bpo-32717: Document PEP 560 (GH-6726)Miss Islington (bot)2018-05-081-0/+37
| | | | | (cherry picked from commit bd5f96581bf23f6d05fc106996428a8043b6b084) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>