]> granicus.if.org Git - python/commitdiff
Fix typo in atexit documentation. (GH-4419) (GH-4442)
authorErik Bray <erik.m.bray@gmail.com>
Fri, 17 Nov 2017 13:57:54 +0000 (14:57 +0100)
committerMariatta <Mariatta@users.noreply.github.com>
Fri, 17 Nov 2017 13:57:54 +0000 (05:57 -0800)
`kargs` -> `kwargs`

Doc/library/atexit.rst

index 0b5e121fe630cb6ea4d63d9de926db5d150faef2..06bbf606a9af927cdf8db8cc6b34805ba1a4864a 100644 (file)
@@ -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