summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Bray <erik.m.bray@gmail.com>2017-11-16 16:48:52 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-11-16 16:48:52 (GMT)
commitd505a29a15a6f9315d8c46445b8a0cccfc2048b8 (patch)
tree6857ec76a8068b4f543662ccaccacf19575e9d8a
parentcede8c9edb408321b493d8d5e73be9e1018020e4 (diff)
downloadcpython-d505a29a15a6f9315d8c46445b8a0cccfc2048b8.zip
cpython-d505a29a15a6f9315d8c46445b8a0cccfc2048b8.tar.gz
cpython-d505a29a15a6f9315d8c46445b8a0cccfc2048b8.tar.bz2
Fix typo in atexit documentation. (GH-4419)
`kargs` -> `kwargs`
-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