Skip to content

Commit 1c9e8ba

Browse files
author
Erlend E. Aasland
committed
Fix type names
1 parent f30a096 commit 1c9e8ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Modules/cjkcodecs/multibytecodec.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ static PyType_Slot multibytecodec_slots[] = {
730730
};
731731

732732
static PyType_Spec multibytecodec_spec = {
733-
.name = "MultibyteCodec",
733+
.name = "_multibytecodec.MultibyteCodec",
734734
.basicsize = sizeof(MultibyteCodecObject),
735735
.flags = Py_TPFLAGS_DEFAULT,
736736
.slots = multibytecodec_slots,
@@ -1097,7 +1097,7 @@ static PyType_Slot encoder_slots[] = {
10971097
};
10981098

10991099
static PyType_Spec encoder_spec = {
1100-
.name = "MultibyteIncrementalEncoder",
1100+
.name = "_multibytecodec.MultibyteIncrementalEncoder",
11011101
.basicsize = sizeof(MultibyteIncrementalEncoderObject),
11021102
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE,
11031103
.slots = encoder_slots,
@@ -1375,7 +1375,7 @@ static PyType_Slot decoder_slots[] = {
13751375
};
13761376

13771377
static PyType_Spec decoder_spec = {
1378-
.name = "MultibyteIncrementalDecoder",
1378+
.name = "_multibytecodec.MultibyteIncrementalDecoder",
13791379
.basicsize = sizeof(MultibyteIncrementalDecoderObject),
13801380
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE,
13811381
.slots = decoder_slots,
@@ -1702,7 +1702,7 @@ static PyType_Slot reader_slots[] = {
17021702
};
17031703

17041704
static PyType_Spec reader_spec = {
1705-
.name = "MultibyteStreamReader",
1705+
.name = "_multibytecodec.MultibyteStreamReader",
17061706
.basicsize = sizeof(MultibyteStreamReaderObject),
17071707
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE,
17081708
.slots = reader_slots,
@@ -1928,7 +1928,7 @@ static PyType_Slot writer_slots[] = {
19281928
};
19291929

19301930
static PyType_Spec writer_spec = {
1931-
.name = "MultibyteStreamWriter",
1931+
.name = "_multibytecodec.MultibyteStreamWriter",
19321932
.basicsize = sizeof(MultibyteStreamWriterObject),
19331933
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE,
19341934
.slots = writer_slots,

0 commit comments

Comments
 (0)