[Python-checkins] Fix typo in atexit documentation. (GH-4419) (GH-4425)

Mariatta webhook-mailer at python.org
Thu Nov 16 12:11:44 EST 2017


https://github.com/python/cpython/commit/6cc476ace1e04b0aab1787784f8db0cc844446bd
commit: 6cc476ace1e04b0aab1787784f8db0cc844446bd
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2017-11-16T09:11:41-08:00
summary:

Fix typo in atexit documentation. (GH-4419) (GH-4425)

`kargs` -> `kwargs`
(cherry picked from commit d505a29a15a6f9315d8c46445b8a0cccfc2048b8)

files:
M Doc/library/atexit.rst

diff --git a/Doc/library/atexit.rst b/Doc/library/atexit.rst
index 1d84d4587fd..5c60b604c68 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



More information about the Python-checkins mailing list