bpo-40217: Clean code in PyType_FromSpec_Alloc and add NEWS entry (GH-19733)

2 files changed