From: Erik Bray Date: Fri, 17 Nov 2017 13:57:54 +0000 (+0100) Subject: Fix typo in atexit documentation. (GH-4419) (GH-4442) X-Git-Tag: v2.7.15rc1~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3393c8067d37c5c54ef30581043280801b58acae;p=python Fix typo in atexit documentation. (GH-4419) (GH-4442) `kargs` -> `kwargs` --- diff --git a/Doc/library/atexit.rst b/Doc/library/atexit.rst index 0b5e121fe6..06bbf606a9 100644 --- a/Doc/library/atexit.rst +++ b/Doc/library/atexit.rst @@ -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``. -.. function:: register(func[, *args[, **kargs]]) +.. function:: register(func[, *args[, **kwargs]]) 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