From 3393c8067d37c5c54ef30581043280801b58acae Mon Sep 17 00:00:00 2001 From: Erik Bray Date: Fri, 17 Nov 2017 14:57:54 +0100 Subject: [PATCH] Fix typo in atexit documentation. (GH-4419) (GH-4442) `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 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 -- 2.50.0