diff options
author | Georg Brandl <georg@python.org> | 2009-04-02 02:56:10 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-02 02:56:10 (GMT) |
commit | b868a66ccb9cde89d934a896fe3c5629ed007d42 (patch) | |
tree | 93830f2ea5ec9dfe170e2d3139429933917ce7ed /Doc/library/atexit.rst | |
parent | acc9dcc6888d310ec084925d84441779cce0d03d (diff) | |
download | cpython-b868a66ccb9cde89d934a896fe3c5629ed007d42.zip cpython-b868a66ccb9cde89d934a896fe3c5629ed007d42.tar.gz cpython-b868a66ccb9cde89d934a896fe3c5629ed007d42.tar.bz2 |
First batch of signature documentation changes; using default argument syntax where applicable.
Diffstat (limited to 'Doc/library/atexit.rst')
-rw-r--r-- | Doc/library/atexit.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/atexit.rst b/Doc/library/atexit.rst index 11b4120..74712ee 100644 --- a/Doc/library/atexit.rst +++ b/Doc/library/atexit.rst @@ -17,7 +17,7 @@ is killed by a signal, when a Python fatal internal error is detected, or when :func:`os._exit` is called. -.. function:: register(func[, *args[, **kargs]]) +.. function:: register(func, *args, **kargs) 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 @@ -48,7 +48,8 @@ is killed by a signal, when a Python fatal internal error is detected, or when .. seealso:: Module :mod:`readline` - Useful example of :mod:`atexit` to read and write :mod:`readline` history files. + Useful example of :mod:`atexit` to read and write :mod:`readline` history + files. .. _atexit-example: |