Skip to content

Commit ba35c9d

Browse files
committed
fix module names
1 parent c1c03b0 commit ba35c9d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Modules/_zstd/_zstdmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ do { \
593593
ADD_TYPE(mod_state->ZstdCompressor_type, zstd_compressor_type_spec);
594594
ADD_TYPE(mod_state->ZstdDecompressor_type, zstd_decompressor_type_spec);
595595
mod_state->ZstdError = PyErr_NewExceptionWithDoc(
596-
"_zstd.ZstdError",
596+
"compression.zstd.ZstdError",
597597
"An error occurred in the zstd library.",
598598
NULL, NULL);
599599
if (mod_state->ZstdError == NULL) {

Modules/_zstd/compressor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ static PyType_Slot zstdcompressor_slots[] = {
699699
};
700700

701701
PyType_Spec zstd_compressor_type_spec = {
702-
.name = "_zstd.ZstdCompressor",
702+
.name = "compression.zstd.ZstdCompressor",
703703
.basicsize = sizeof(ZstdCompressor),
704704
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
705705
.slots = zstdcompressor_slots,

Modules/_zstd/decompressor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ static PyType_Slot ZstdDecompressor_slots[] = {
867867
};
868868

869869
PyType_Spec zstd_decompressor_type_spec = {
870-
.name = "_zstd.ZstdDecompressor",
870+
.name = "compression.zstd.ZstdDecompressor",
871871
.basicsize = sizeof(ZstdDecompressor),
872872
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
873873
.slots = ZstdDecompressor_slots,

Modules/_zstd/zstddict.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ static PyType_Slot zstddict_slots[] = {
279279
};
280280

281281
PyType_Spec zstd_dict_type_spec = {
282-
.name = "_zstd.ZstdDict",
282+
.name = "compression.zstd.ZstdDict",
283283
.basicsize = sizeof(ZstdDict),
284284
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
285285
.slots = zstddict_slots,

0 commit comments

Comments
 (0)