Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bpo-40077: Apply code review
  • Loading branch information
corona10 committed Jun 18, 2020
commit 54d233c5f52b190357adabe655dc6fc6de025265
2 changes: 1 addition & 1 deletion Modules/_bz2module.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ static PyType_Spec bz2_compressor_type_spec = {
// dbmtype_spec does not have Py_TPFLAGS_BASETYPE flag
// which prevents to create a subclass.
// So calling PyType_GetModuleState() in this file is always safe.
.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE,
.flags = Py_TPFLAGS_DEFAULT,
.slots = bz2_compressor_type_slots,
};

Expand Down