Skip to content

Commit 3393c80

Browse files
embrayMariatta
authored andcommitted
Fix typo in atexit documentation. (GH-4419) (GH-4442)
`kargs` -> `kwargs`
1 parent c02307e commit 3393c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/atexit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ simplest way to convert code that sets ``sys.exitfunc`` is to import
3737
:mod:`atexit` and register the function that had been bound to ``sys.exitfunc``.
3838

3939

40-
.. function:: register(func[, *args[, **kargs]])
40+
.. function:: register(func[, *args[, **kwargs]])
4141

4242
Register *func* as a function to be executed at termination. Any optional
4343
arguments that are to be passed to *func* must be passed as arguments to

0 commit comments

Comments
 (0)