From c0a8e3fbea137d9253da860139aa238c402918e5 Mon Sep 17 00:00:00 2001 From: Erik Bray Date: Thu, 16 Nov 2017 17:48:52 +0100 Subject: [PATCH] Fix typo in atexit documentation. (GH-4419) `kargs` -> `kwargs` --- Doc/library/atexit.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/atexit.rst b/Doc/library/atexit.rst index 0b5e121fe630cb..06bbf606a9af92 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