]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38211: Clean up type_init() (GH-16257)
authorSergey Fedoseev <fedoseev.sergey@gmail.com>
Wed, 16 Jun 2021 13:04:38 +0000 (18:04 +0500)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 13:04:38 +0000 (14:04 +0100)
commitab030d6f9d73e7f6c2213c2e308d1ceb04761485
tree37706f246f845cb66f88b40cd0f6c0b50263a08d
parent0729694246174a5c2f0ae197f2e0dbea61b90c9f
bpo-38211: Clean up type_init() (GH-16257)

1. Remove conditions already checked by assert()
2. Remove object_init() call that effectively creates an empty tuple and
checks that this tuple is empty
Objects/typeobject.c