mirror of
https://github.com/python/cpython.git
synced 2025-09-29 19:56:59 +00:00
Fix typo in atexit documentation. (GH-4419)
`kargs` -> `kwargs`
This commit is contained in:
parent
cede8c9edb
commit
d505a29a15
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ program is killed by a signal not handled by Python, when a Python fatal
|
||||||
internal error is detected, or when :func:`os._exit` is called.
|
internal error is detected, or when :func:`os._exit` is called.
|
||||||
|
|
||||||
|
|
||||||
.. function:: register(func, *args, **kargs)
|
.. function:: register(func, *args, **kwargs)
|
||||||
|
|
||||||
Register *func* as a function to be executed at termination. Any optional
|
Register *func* as a function to be executed at termination. Any optional
|
||||||
arguments that are to be passed to *func* must be passed as arguments to
|
arguments that are to be passed to *func* must be passed as arguments to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue