summaryrefslogtreecommitdiff
path: root/Doc/library/codecs.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-11-25 18:59:20 +0200
committerBerker Peksag <berker.peksag@gmail.com>2014-11-25 18:59:20 +0200
commit552c9aa2fb119fa6c4215b8ddff0f70171d46b72 (patch)
treea186bb41f54f279bbc1b14644850f6cbe3daf516 /Doc/library/codecs.rst
parent0117415ec1b892b42573e0b10a946d5881df8434 (diff)
downloadcpython-552c9aa2fb119fa6c4215b8ddff0f70171d46b72.tar.gz
Issue #19676: Tweak documentation a bit.
* Updated version info to 3.5 * Fixed a markup error * Added a versionadded directive to namereplace_errors documentation
Diffstat (limited to 'Doc/library/codecs.rst')
-rw-r--r--Doc/library/codecs.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index ea4c450de7..06bce84b7b 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -239,6 +239,8 @@ functions which use :func:`lookup` for the codec lookup:
Implements the ``namereplace`` error handling (for encoding only): the
unencodable character is replaced by a ``\N{...}`` escape sequence.
+ .. versionadded:: 3.5
+
To simplify working with encoded files or stream, the module also defines these
utility functions:
@@ -394,7 +396,7 @@ schemes:
.. versionchanged:: 3.4
The ``'surrogatepass'`` error handlers now works with utf-16\* and utf-32\* codecs.
-.. versionadded:: 3.4
+.. versionadded:: 3.5
The ``'namereplace'`` error handler.
The set of allowed values can be extended via :meth:`register_error`.