Fix wrong function names.
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 867fbae..b44dca4 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -190,12 +190,12 @@
    Implements the ``ignore`` error handling.
 
 
-.. function:: xmlcharrefreplace_errors_errors(exception)
+.. function:: xmlcharrefreplace_errors(exception)
 
    Implements the ``xmlcharrefreplace`` error handling.
 
 
-.. function:: backslashreplace_errors_errors(exception)
+.. function:: backslashreplace_errors(exception)
 
    Implements the ``backslashreplace`` error handling.