]> granicus.if.org Git - python/commitdiff
Fix typo in atexit documentation. (GH-4419) (GH-4425)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 16 Nov 2017 17:11:41 +0000 (09:11 -0800)
committerMariatta <Mariatta@users.noreply.github.com>
Thu, 16 Nov 2017 17:11:41 +0000 (09:11 -0800)
`kargs` -> `kwargs`
(cherry picked from commit d505a29a15a6f9315d8c46445b8a0cccfc2048b8)

Doc/library/atexit.rst

index 1d84d4587fd9c009c4eb207fac24476609897666..5c60b604c68301e020144e582d45247038ffebc6 100644 (file)
@@ -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