diff options
author | Sam Gross <colesbury@gmail.com> | 2024-06-20 15:29:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 15:29:08 (GMT) |
commit | 3af7263037de1d0ef63b070fc7bfc2cf042eaebe (patch) | |
tree | 3503239cf4a4ca885e53f9e943530aa9bf93ac5c /Objects | |
parent | e8e151d4715839f785ff853c77594d7302b40266 (diff) | |
download | cpython-3af7263037de1d0ef63b070fc7bfc2cf042eaebe.zip cpython-3af7263037de1d0ef63b070fc7bfc2cf042eaebe.tar.gz cpython-3af7263037de1d0ef63b070fc7bfc2cf042eaebe.tar.bz2 |
gh-117511: Make PyMutex public in the non-limited API (#117731)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 16f940f..dc6402f 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -2372,7 +2372,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; |