summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-11-16 17:11:41 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-11-16 17:11:41 (GMT)
commit6cc476ace1e04b0aab1787784f8db0cc844446bd (patch)
treef6ce8ffbf704cfd44821e0dafb3c207b0ec6f810 /Doc/library
parent33217d22131ab1ffaa09a6944bae704f722f25a9 (diff)
downloadcpython-6cc476ace1e04b0aab1787784f8db0cc844446bd.zip
cpython-6cc476ace1e04b0aab1787784f8db0cc844446bd.tar.gz
cpython-6cc476ace1e04b0aab1787784f8db0cc844446bd.tar.bz2
Fix typo in atexit documentation. (GH-4419) (GH-4425)
`kargs` -> `kwargs` (cherry picked from commit d505a29a15a6f9315d8c46445b8a0cccfc2048b8)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/atexit.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/atexit.rst b/Doc/library/atexit.rst
index 1d84d45..5c60b60 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