mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
gh-90111: Minor Cleanup for Runtime-Global Objects (gh-100254)
* move _PyRuntime.global_objects.interned to _PyRuntime.cached_objects.interned_strings (and use _Py_CACHED_OBJECT()) * rename _PyRuntime.global_objects to _PyRuntime.static_objects (This also relates to gh-96075.) https://github.com/python/cpython/issues/90111
This commit is contained in:
parent
9663853800
commit
aa8591e9ca
4 changed files with 8 additions and 8 deletions
|
@ -70,7 +70,7 @@ extern "C" {
|
|||
.types = { \
|
||||
.next_version_tag = 1, \
|
||||
}, \
|
||||
.global_objects = { \
|
||||
.static_objects = { \
|
||||
.singletons = { \
|
||||
.small_ints = _Py_small_ints_INIT, \
|
||||
.bytes_empty = _PyBytes_SIMPLE_INIT(0, 0), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue