Skip to content

Commit 07163e0

Browse files
committed
some notes about the side things
1 parent 106f158 commit 07163e0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pep.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ main part of this proposal.
338338
Unpack of typevars for ``**kwargs``
339339
-----------------------------------
340340

341-
A minor proposal that could be split out maybe:
341+
A minor proposal that can probably be split off into a typing proposal
342+
without a PEP:
342343

343344
Supporting ``Unpack`` of typevars for ``**kwargs``::
344345

@@ -391,6 +392,13 @@ support processing ``**kwargs`` with type level computation.
391392
Extended Callables, take 2
392393
--------------------------
393394

395+
We introduce a new extended callable proposal for expressing arbitrary
396+
complex callable types. The goal here is not really to produce a new
397+
syntax to write in annotations (it seems less pleasant to write than
398+
callback protocols are), but to provide a way of contructing the types
399+
that is amenable to creating and introspecting callable types using
400+
the other features of this PEP.
401+
394402
We introduce a ``Param`` type that contains all the information about a function param::
395403

396404
class Param[N: str | None, T, Q: ParamQuals = typing.Never]:

0 commit comments

Comments
 (0)