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

Mariatta webhook-mailer at python.org
Fri Nov 17 08:58:02 EST 2017


https://github.com/python/cpython/commit/3393c8067d37c5c54ef30581043280801b58acae
commit: 3393c8067d37c5c54ef30581043280801b58acae
branch: 2.7
author: Erik Bray <erik.m.bray at gmail.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2017-11-17T05:57:54-08:00
summary:

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

`kargs` -> `kwargs`

files:
M Doc/library/atexit.rst

diff --git a/Doc/library/atexit.rst b/Doc/library/atexit.rst
index 0b5e121fe63..06bbf606a9a 100644
--- a/Doc/library/atexit.rst
+++ b/Doc/library/atexit.rst
@@ -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



More information about the Python-checkins mailing list