]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Cleanup clear_static_tp_subclasses() (#106276)
authorVictor Stinner <vstinner@python.org>
Fri, 30 Jun 2023 10:39:55 +0000 (12:39 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2023 10:39:55 +0000 (10:39 +0000)
commit1a2652ceaa55190a0b860abd1448095eafbdf238
tree7de611da949f762a32ccbb1420fd4ba1f33a1796
parent80b3d8f337bef52d7c360b4ee86be873681f747a
Cleanup clear_static_tp_subclasses() (#106276)

Only iterate on the dictionary if Python is built with assertions:
subclass is only needed when Python is built with assertions.
Objects/typeobject.c