Commit Graph

17 Commits

Author SHA1 Message Date
Stefano Borini cdfc88bebe
PEP 637 Added "how to teach" section (#1800) 2021-02-06 10:18:02 -08:00
Hugo van Kemenade a2890cf4bc
PEP 621, 635, 637, 639, 642, 644, 645, 647, 650: Fix single backticks (#1797) 2021-02-05 08:09:26 -08:00
Barry Warsaw d3f48ed58f
Fix case of "Python" in PEP 637 (#1794) 2021-02-03 19:22:25 -08:00
Marti Raudsepp 9b64c6ea75
Various typo/grammar/style fixes (#1789)
Changes detected by Topy (https://github.com/intgr/topy), all changes
verified by hand, false positives have been omitted.

These range from straight-out misspellings to debatable hyphen placement.
The hyphen changes are supported by grammar manuals of style.
2021-02-03 06:06:23 -08:00
Stefano Borini 476f8b8703
PEP 637: Added clause for star unpacking leaving the index as a tuple (GH-1790) 2021-02-01 09:33:55 -08:00
Stefano Borini e5689eb37b
PEP-637 Added notation use case for star arguments on PEP-646 (#1774) 2021-01-21 15:50:03 -08:00
Stefano Borini 23b9fffb1f
PEP 637: Addnew slots to the C interface (#1750) 2020-12-28 09:38:34 -08:00
Stefano Borini 831e7256d5
PEP 637: Allow empty starred arguments (GH-1744)
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2020-12-23 10:43:35 -08:00
Stefano Borini fc43230308
PEP 637: Feedback and various typo fixes (GH-1741) 2020-12-23 10:05:12 -08:00
Matthias Urlichs fd725e327f
PEP 637: Add another rationale, and more (#1615)
* Add another rationale for this syntax

* Add missing escapes

* Improve wording as per comment from @stevendaprano

* added another sentence to clarify what `trio.run` actually does
2020-10-19 07:30:08 -07:00
Stefano Borini 88eb5a08a1
PEP 637 I've asked Jonathan Fine to resign as PEP author, and he's agreed to do so. Details in the pull request. (#1650) 2020-10-12 11:31:49 -07:00
Gerrit Holl fd1fbe7329
PEP637 setter notation getitem -> setitem (#1640)
In PEP-0637, in the example discussing setter notation, change the example from `__getitem__` to `__setitem__`, as the former appears to be a mistake in this context.
2020-10-07 02:19:55 +11:00
Stefano Borini 43834b1add
PEP 637: Default sentinel value for no value passed as index (#1626)
* PEP 637: more rationale for function call not being an option

* PEP 637 Commentary on the choice of tuple as sentinel when no index is specified

* Finalised explanation of rationale behind the empty tuple

* Clarified the proposed default hack

* Clarified asymmetry to functions

* Added review comments
2020-09-28 13:13:20 -07:00
Stefano Borini fd40249e4e
PEP 637 allow for unpacking of starargs (#1622) 2020-09-26 16:37:32 -07:00
Stefano Borini a5b59d6dca
PEP 637: Integrate feedback from GvR (#1620) 2020-09-26 13:32:35 -07:00
Stefano Borini ed5f3b191f
PEP 637: Removed Ellipsis rule -- '...' is just an expression already (#1623) 2020-09-26 09:38:24 -07:00
Stefano Borini 8e16d32598
PEP 637: Renamed file to rst and changed formatting of block code (#1619) 2020-09-25 17:00:29 -07:00