diff options
author | Georg Brandl <georg@python.org> | 2009-04-05 22:20:44 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-05 22:20:44 (GMT) |
commit | 0d8f07305d7ddcf684c3db5680263c98cf70c067 (patch) | |
tree | 8862b638d9b3e98ce030044765e9231333821f94 /Doc/library/binhex.rst | |
parent | 889b0aa4506d5ea43985865a44562ebd39b3bf00 (diff) | |
download | cpython-0d8f07305d7ddcf684c3db5680263c98cf70c067.zip cpython-0d8f07305d7ddcf684c3db5680263c98cf70c067.tar.gz cpython-0d8f07305d7ddcf684c3db5680263c98cf70c067.tar.bz2 |
Update signature style of optional arguments, part two.
Diffstat (limited to 'Doc/library/binhex.rst')
-rw-r--r-- | Doc/library/binhex.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/binhex.rst b/Doc/library/binhex.rst index 7f3fe81..43c7823 100644 --- a/Doc/library/binhex.rst +++ b/Doc/library/binhex.rst @@ -1,4 +1,3 @@ - :mod:`binhex` --- Encode and decode binhex4 files ================================================= @@ -19,11 +18,11 @@ The :mod:`binhex` module defines the following functions: supporting a :meth:`write` and :meth:`close` method). -.. function:: hexbin(input[, output]) +.. function:: hexbin(input, output) Decode a binhex file *input*. *input* may be a filename or a file-like object supporting :meth:`read` and :meth:`close` methods. The resulting file is written - to a file named *output*, unless the argument is omitted in which case the + to a file named *output*, unless the argument is ``None`` in which case the output filename is read from the binhex file. The following exception is also defined: |