Commit Graph

5 Commits

Author SHA1 Message Date
Shantanu ace871d870
Various PEPs: fix typos (GH-2211)
Co-authored-by: hauntsaninja <>
2022-01-03 21:01:23 -08:00
Steven Troxler 21f6df59ed
PEP 677: Clarify support for PEP 646 Unpack/* (#2198) 2021-12-18 10:55:56 -08:00
Steven Troxler fc2e5d0106
PEP 677: Update the thanks section (#2196) 2021-12-16 09:14:56 -08:00
Steven Troxler c8a66e38e6
PEP 677: Readability and organizational edits (#2193)
* Address Guido's comments from initial PR

* Update functions-as-types based on Pradeep's feedback

* Fix some markup, address comments on endpoint example

* Rearrange Motivation and Rationale

* Move the language comparison subsection to Rational

* Fix more markup errors

* Rework "Motivation" section again

Going with Pradeep's suggested order:
- untyped example
- correct types
- partially-typed code
- our proposal

* Fix more lint errors

* Add a section highlighting a concern about -> readability

* Update the add/wrap/flatmap example

* Wording change suggested by AlexWaygood

* Add missing return annotation

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

* Break up long sentence

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

* Break up long sentence (thanks Jelle)

* Reword awkward sentence (thanks Pradeep)

* Rearrange paragraphs in Motivation

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-12-15 21:23:34 -08:00
Steven Troxler 581d21d947
PEP 677: Callable Type Syntax (#2187)
Ported from a google doc at
https://docs.google.com/document/d/16UmBItZWIzKZK3ZTpDKH8vazNZ817E4UqKmPtebO4jQ/edit

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Tuomas Suutari <tuomas@nepnep.net>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2021-12-13 20:31:31 -08:00