]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39943: Keep constness of pointer objects. (19405)
authorAndy Lester <andy@petdance.com>
Fri, 10 Apr 2020 01:05:38 +0000 (20:05 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Apr 2020 01:05:38 +0000 (20:05 -0500)
commit38ada3bac8205a7690d573d715b0e84e60297c4c
treea29ada4ddeb830fba26732a17d17e1652ec8c409
parent5cd28030092eaa8eb9223afd733974fd2afc8e2c
bpo-39943: Keep constness of pointer objects. (19405)

* Keep constness of pointer objects.

Also moved an auto variable that got consted into its innermost necessary scope.

* move def

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Objects/typeobject.c