diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2015-01-06 14:22:00 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2015-01-06 14:22:00 (GMT) |
commit | b9fdb7a452c2b6f7a628118b5f695bd061b62cc8 (patch) | |
tree | 724c4a77f635adc95e78674ce5f24e79aa391fae /Doc/library/tarfile.rst | |
parent | fcfed1991382f9697df574fae4115a9f815adca0 (diff) | |
download | cpython-b9fdb7a452c2b6f7a628118b5f695bd061b62cc8.zip cpython-b9fdb7a452c2b6f7a628118b5f695bd061b62cc8.tar.gz cpython-b9fdb7a452c2b6f7a628118b5f695bd061b62cc8.tar.bz2 |
Issue 19548: update codecs module documentation
- clarified the distinction between text encodings and other codecs
- clarified relationship with builtin open and the io module
- consolidated documentation of error handlers into one section
- clarified type constraints of some behaviours
- added tests for some of the new statements in the docs
Diffstat (limited to 'Doc/library/tarfile.rst')
-rw-r--r-- | Doc/library/tarfile.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index b07850f..4536eca 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -794,7 +794,7 @@ metadata must be either decoded or encoded. If *encoding* is not set appropriately, this conversion may fail. The *errors* argument defines how characters are treated that cannot be -converted. Possible values are listed in section :ref:`codec-base-classes`. +converted. Possible values are listed in section :ref:`error-handlers`. The default scheme is ``'surrogateescape'`` which Python also uses for its file system calls, see :ref:`os-filenames`. |