summaryrefslogtreecommitdiff
path: root/Doc/library/binhex.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-05 22:20:44 +0000
committerGeorg Brandl <georg@python.org>2009-04-05 22:20:44 +0000
commit0d8f07305d7ddcf684c3db5680263c98cf70c067 (patch)
tree8862b638d9b3e98ce030044765e9231333821f94 /Doc/library/binhex.rst
parent889b0aa4506d5ea43985865a44562ebd39b3bf00 (diff)
downloadcpython-git-0d8f07305d7ddcf684c3db5680263c98cf70c067.tar.gz
Update signature style of optional arguments, part two.
Diffstat (limited to 'Doc/library/binhex.rst')
-rw-r--r--Doc/library/binhex.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/binhex.rst b/Doc/library/binhex.rst
index 7f3fe81139..43c78237d2 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: