From: Erik Bray Date: Thu, 16 Nov 2017 16:48:52 +0000 (+0100) Subject: Fix typo in atexit documentation. (GH-4419) X-Git-Tag: v3.7.0a3~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d505a29a15a6f9315d8c46445b8a0cccfc2048b8;p=thirdparty%2FPython%2Fcpython.git Fix typo in atexit documentation. (GH-4419) `kargs` -> `kwargs` --- diff --git a/Doc/library/atexit.rst b/Doc/library/atexit.rst index 1d84d4587fd9..5c60b604c683 100644 --- a/Doc/library/atexit.rst +++ b/Doc/library/atexit.rst @@ -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. -.. 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