]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43770: Cleanup type_ready() (GH-25388)
authorVictor Stinner <vstinner@python.org>
Tue, 13 Apr 2021 13:25:16 +0000 (15:25 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Apr 2021 13:25:16 +0000 (15:25 +0200)
commita328d73843cfd42d2aee1434c78df1ef2845931a
tree531d9c250158ed99898b528661a95293e10a05df
parent65f058eb081c9e1fe44115d1ac7966067e3650c7
bpo-43770: Cleanup type_ready() (GH-25388)

* Rename functions
* Only pass type parameter to "add_xxx" functions.
* Clarify the role of the type_ready_inherit_as_structs() function.
* Move type_dict_set_doc() code to call it in type_ready_fill_dict().
Objects/typeobject.c