Commit 3393c806 authored by Erik Bray's avatar Erik Bray Committed by Mariatta

Fix typo in atexit documentation. (GH-4419) (GH-4442)

`kargs` -> `kwargs`
parent c02307e9
...@@ -37,7 +37,7 @@ simplest way to convert code that sets ``sys.exitfunc`` is to import ...@@ -37,7 +37,7 @@ simplest way to convert code that sets ``sys.exitfunc`` is to import
:mod:`atexit` and register the function that had been bound to ``sys.exitfunc``. :mod:`atexit` and register the function that had been bound to ``sys.exitfunc``.
.. 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment