summaryrefslogtreecommitdiffstats
path: root/Lib/codecs.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-12-20 15:42:38 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-12-20 15:42:38 (GMT)
commitde3ee5b94ff9a680d7653ca178b8b66a96a92af8 (patch)
treeb320cc82434517c7b399a48b456313713473f113 /Lib/codecs.py
parenta62b96b86c99eedbe35f8b434b1bc100ce713813 (diff)
downloadcpython-de3ee5b94ff9a680d7653ca178b8b66a96a92af8.zip
cpython-de3ee5b94ff9a680d7653ca178b8b66a96a92af8.tar.gz
cpython-de3ee5b94ff9a680d7653ca178b8b66a96a92af8.tar.bz2
Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter.
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r--Lib/codecs.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index c2065da..ba9c073 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -20,8 +20,14 @@ __all__ = ["register", "lookup", "open", "EncodedFile", "BOM", "BOM_BE",
"BOM_LE", "BOM32_BE", "BOM32_LE", "BOM64_BE", "BOM64_LE",
"BOM_UTF8", "BOM_UTF16", "BOM_UTF16_LE", "BOM_UTF16_BE",
"BOM_UTF32", "BOM_UTF32_LE", "BOM_UTF32_BE",
+ "CodecInfo", "Codec", "IncrementalEncoder", "IncrementalDecoder",
+ "StreamReader", "StreamWriter",
+ "StreamReaderWriter", "StreamRecoder",
+ "getencoder", "getdecoder", "getincrementalencoder",
+ "getincrementaldecoder", "getreader", "getwriter",
+ "encode", "decode", "iterencode", "iterdecode",
"strict_errors", "ignore_errors", "replace_errors",
- "xmlcharrefreplace_errors",
+ "xmlcharrefreplace_errors", "backslashreplace_errors",
"register_error", "lookup_error"]
### Constants