]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-117139: Fix missing semicolon (GH-118573)
authorKen Jin <kenjin@python.org>
Sat, 4 May 2024 15:45:49 +0000 (23:45 +0800)
committerGitHub <noreply@github.com>
Sat, 4 May 2024 15:45:49 +0000 (15:45 +0000)
Include/internal/pycore_stackref.h

index fd929cd4873a8bdd9af2d97c78fea2b82299befb..93898174789f7b3b937e6be6957c5ac3178758ca 100644 (file)
@@ -114,7 +114,7 @@ _Py_untag_stack_steal(PyObject **dst, const _PyStackRef *src, size_t length)
 
 #define PyStackRef_XSETREF(dst, src) \
     do { \
-        _PyStackRef *_tmp_dst_ptr = &(dst) \
+        _PyStackRef *_tmp_dst_ptr = &(dst); \
         _PyStackRef _tmp_old_dst = (*_tmp_dst_ptr); \
         *_tmp_dst_ptr = (src); \
         PyStackRef_XDECREF(_tmp_old_dst); \