mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
gh-132983: Simplify `_zstd_exec()` (#133775)
This commit is contained in:
parent
aed28eb5a0
commit
bbe9c31edc
5 changed files with 69 additions and 157 deletions
|
|
@ -699,7 +699,7 @@ static PyType_Slot zstdcompressor_slots[] = {
|
|||
{0}
|
||||
};
|
||||
|
||||
PyType_Spec zstdcompressor_type_spec = {
|
||||
PyType_Spec zstd_compressor_type_spec = {
|
||||
.name = "_zstd.ZstdCompressor",
|
||||
.basicsize = sizeof(ZstdCompressor),
|
||||
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue