mirror of
https://github.com/python/cpython.git
synced 2026-05-30 08:06:21 -04:00
9fe60340d7
Revert commit c8c0afc713 (PR #94532),
which moved `struct.Struct` initialisation from `Struct.__init__` to `Struct.__new__`.
This caused issues with code in the wild that subclasses `struct.Struct`.
Source files for standard library extension modules, and former extension modules that are now builtin modules.