summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b721ccd805..f0c7aa7707 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -233,12 +233,12 @@ static inline PyObject* unicode_new_empty(void)
*/
static inline PyObject *get_interned_dict(void)
{
- return _PyRuntime.global_objects.interned;
+ return _Py_CACHED_OBJECT(interned_strings);
}
static inline void set_interned_dict(PyObject *dict)
{
- _PyRuntime.global_objects.interned = dict;
+ _Py_CACHED_OBJECT(interned_strings) = dict;
}
#define _Py_RETURN_UNICODE_EMPTY() \