diff options
Diffstat (limited to 'Doc/library/binhex.rst')
| -rw-r--r-- | Doc/library/binhex.rst | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Doc/library/binhex.rst b/Doc/library/binhex.rst index a112813..43c7823 100644 --- a/Doc/library/binhex.rst +++ b/Doc/library/binhex.rst @@ -6,14 +6,7 @@ This module encodes and decodes files in binhex4 format, a format allowing -representation of Macintosh files in ASCII. On the Macintosh, both forks of a -file and the finder information are encoded (or decoded), on other platforms -only the data fork is handled. - -.. note:: - - In Python 3.x, special Macintosh support has been removed. - +representation of Macintosh files in ASCII. Only the data fork is handled. The :mod:`binhex` module defines the following functions: @@ -25,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: |
