PEP 612: Fix typo (#1755)
This commit is contained in:
parent
f507e8870f
commit
cdbac8e836
|
@ -413,14 +413,14 @@ together, so that our usage is valid for all possible partitions.
|
|||
|
||||
def puts_p_into_scope(f: Callable[P, int]) -> None:
|
||||
|
||||
stored_args: P.args # Rejected
|
||||
stored_args: P.args # Rejected
|
||||
|
||||
stored_kwargs: P.args # Rejected
|
||||
stored_kwargs: P.kwargs # Rejected
|
||||
|
||||
def just_args(*args: P.args) -> None: # Rejected
|
||||
def just_args(*args: P.args) -> None: # Rejected
|
||||
pass
|
||||
|
||||
def just_kwargs(*args: P.args) -> None: # Rejected
|
||||
def just_kwargs(**kwargs: P.kwargs) -> None: # Rejected
|
||||
pass
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue