Skip to content

Commit bb20b04

Browse files
authored
Update pep-0827.rst
Fix typo in class Param
1 parent bfb1780 commit bb20b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0827.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ We introduce a ``Param`` type that contains all the information about a function
379379
class Param[N: str | None, T, Q: ParamQuals = typing.Never]:
380380
pass
381381

382-
ParamQuals = typing.Literal["*", "**", "default", "keyword"]
382+
ParamQuals = typing.Literal["*", "**", "default", "keyword", "positional"]
383383

384384
type PosParam[N: str | None, T] = Param[N, T, Literal["positional"]]
385385
type PosDefaultParam[N: str | None, T] = Param[N, T, Literal["positional", "default"]]

0 commit comments

Comments
 (0)