summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/encodings/big5.py3
-rw-r--r--Lib/encodings/big5hkscs.py3
-rw-r--r--Lib/encodings/cp932.py3
-rw-r--r--Lib/encodings/cp949.py3
-rw-r--r--Lib/encodings/cp950.py3
-rw-r--r--Lib/encodings/euc_jis_2004.py3
-rw-r--r--Lib/encodings/euc_jisx0213.py3
-rw-r--r--Lib/encodings/euc_jp.py3
-rw-r--r--Lib/encodings/euc_kr.py3
-rw-r--r--Lib/encodings/gb18030.py3
-rw-r--r--Lib/encodings/gb2312.py3
-rw-r--r--Lib/encodings/gbk.py3
-rw-r--r--Lib/encodings/hz.py3
-rw-r--r--Lib/encodings/iso2022_jp.py3
-rw-r--r--Lib/encodings/iso2022_jp_1.py3
-rw-r--r--Lib/encodings/iso2022_jp_2.py3
-rw-r--r--Lib/encodings/iso2022_jp_2004.py3
-rw-r--r--Lib/encodings/iso2022_jp_3.py3
-rw-r--r--Lib/encodings/iso2022_jp_ext.py3
-rw-r--r--Lib/encodings/iso2022_kr.py3
-rw-r--r--Lib/encodings/johab.py3
-rw-r--r--Lib/encodings/shift_jis.py3
-rw-r--r--Lib/encodings/shift_jis_2004.py3
-rw-r--r--Lib/encodings/shift_jisx0213.py3
24 files changed, 72 insertions, 0 deletions
diff --git a/Lib/encodings/big5.py b/Lib/encodings/big5.py
index c864b68..7adeb0e 100644
--- a/Lib/encodings/big5.py
+++ b/Lib/encodings/big5.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/big5hkscs.py b/Lib/encodings/big5hkscs.py
index 9b812a2..350df37 100644
--- a/Lib/encodings/big5hkscs.py
+++ b/Lib/encodings/big5hkscs.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/cp932.py b/Lib/encodings/cp932.py
index 54d6bb8..e01f59b 100644
--- a/Lib/encodings/cp932.py
+++ b/Lib/encodings/cp932.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/cp949.py b/Lib/encodings/cp949.py
index 6012925..627c871 100644
--- a/Lib/encodings/cp949.py
+++ b/Lib/encodings/cp949.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/cp950.py b/Lib/encodings/cp950.py
index b6517d9..39eec5e 100644
--- a/Lib/encodings/cp950.py
+++ b/Lib/encodings/cp950.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/euc_jis_2004.py b/Lib/encodings/euc_jis_2004.py
index 88e605a..72b87aea 100644
--- a/Lib/encodings/euc_jis_2004.py
+++ b/Lib/encodings/euc_jis_2004.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/euc_jisx0213.py b/Lib/encodings/euc_jisx0213.py
index 10d4b31..cc47d04 100644
--- a/Lib/encodings/euc_jisx0213.py
+++ b/Lib/encodings/euc_jisx0213.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/euc_jp.py b/Lib/encodings/euc_jp.py
index 4dc0b9b..7bcbe41 100644
--- a/Lib/encodings/euc_jp.py
+++ b/Lib/encodings/euc_jp.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/euc_kr.py b/Lib/encodings/euc_kr.py
index 30716f3..c1fb126 100644
--- a/Lib/encodings/euc_kr.py
+++ b/Lib/encodings/euc_kr.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/gb18030.py b/Lib/encodings/gb18030.py
index e685cf6..34fb6c3 100644
--- a/Lib/encodings/gb18030.py
+++ b/Lib/encodings/gb18030.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/gb2312.py b/Lib/encodings/gb2312.py
index e99bf1d..3c3b837 100644
--- a/Lib/encodings/gb2312.py
+++ b/Lib/encodings/gb2312.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/gbk.py b/Lib/encodings/gbk.py
index 09123ae..1b45db8 100644
--- a/Lib/encodings/gbk.py
+++ b/Lib/encodings/gbk.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/hz.py b/Lib/encodings/hz.py
index 06f7d2f..383442a 100644
--- a/Lib/encodings/hz.py
+++ b/Lib/encodings/hz.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/iso2022_jp.py b/Lib/encodings/iso2022_jp.py
index fb04159..ab04060 100644
--- a/Lib/encodings/iso2022_jp.py
+++ b/Lib/encodings/iso2022_jp.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/iso2022_jp_1.py b/Lib/encodings/iso2022_jp_1.py
index fde51c2..997044d 100644
--- a/Lib/encodings/iso2022_jp_1.py
+++ b/Lib/encodings/iso2022_jp_1.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/iso2022_jp_2.py b/Lib/encodings/iso2022_jp_2.py
index 766ab46..9106bf7 100644
--- a/Lib/encodings/iso2022_jp_2.py
+++ b/Lib/encodings/iso2022_jp_2.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/iso2022_jp_2004.py b/Lib/encodings/iso2022_jp_2004.py
index 236ab4e..40198bf 100644
--- a/Lib/encodings/iso2022_jp_2004.py
+++ b/Lib/encodings/iso2022_jp_2004.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/iso2022_jp_3.py b/Lib/encodings/iso2022_jp_3.py
index e3cf950..346e08b 100644
--- a/Lib/encodings/iso2022_jp_3.py
+++ b/Lib/encodings/iso2022_jp_3.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/iso2022_jp_ext.py b/Lib/encodings/iso2022_jp_ext.py
index 89d35b5..752bab9 100644
--- a/Lib/encodings/iso2022_jp_ext.py
+++ b/Lib/encodings/iso2022_jp_ext.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/iso2022_kr.py b/Lib/encodings/iso2022_kr.py
index 41f7ce0..bf70187 100644
--- a/Lib/encodings/iso2022_kr.py
+++ b/Lib/encodings/iso2022_kr.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/johab.py b/Lib/encodings/johab.py
index 6a2c993..512aeeb 100644
--- a/Lib/encodings/johab.py
+++ b/Lib/encodings/johab.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/shift_jis.py b/Lib/encodings/shift_jis.py
index b1f77fc..8338117 100644
--- a/Lib/encodings/shift_jis.py
+++ b/Lib/encodings/shift_jis.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/shift_jis_2004.py b/Lib/encodings/shift_jis_2004.py
index 6078a52..161b1e8 100644
--- a/Lib/encodings/shift_jis_2004.py
+++ b/Lib/encodings/shift_jis_2004.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec
diff --git a/Lib/encodings/shift_jisx0213.py b/Lib/encodings/shift_jisx0213.py
index 5a0f24c..cb653f5 100644
--- a/Lib/encodings/shift_jisx0213.py
+++ b/Lib/encodings/shift_jisx0213.py
@@ -16,11 +16,14 @@ class Codec(codecs.Codec):
class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,
codecs.IncrementalEncoder):
codec = codec
+
class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,
codecs.IncrementalDecoder):
codec = codec
+
class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):
codec = codec
+
class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):
codec = codec