summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-06-20 16:00:25 (GMT)
committerGitHub <noreply@github.com>2024-06-20 16:00:25 (GMT)
commit3cb6c4cd60bec1acbcd960f5e7bd65f78152dbdd (patch)
treef5b72124507a3c8ea7e5938bdb2cdb7563ca1ac1 /Objects
parent7c7aa5a99cce256ff726654038092a333a1f0531 (diff)
downloadcpython-3cb6c4cd60bec1acbcd960f5e7bd65f78152dbdd.zip
cpython-3cb6c4cd60bec1acbcd960f5e7bd65f78152dbdd.tar.gz
cpython-3cb6c4cd60bec1acbcd960f5e7bd65f78152dbdd.tar.bz2
[3.13] gh-117511: Make PyMutex public in the non-limited API (GH-117731) (#120800)
(cherry picked from commit 3af7263037de1d0ef63b070fc7bfc2cf042eaebe)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 1127fed..0355303 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -2376,7 +2376,7 @@ new_reference(PyObject *op)
#else
op->ob_tid = _Py_ThreadId();
op->_padding = 0;
- op->ob_mutex = (struct _PyMutex){ 0 };
+ op->ob_mutex = (PyMutex){ 0 };
op->ob_gc_bits = 0;
op->ob_ref_local = 1;
op->ob_ref_shared = 0;