mirror of
https://github.com/python/cpython.git
synced 2025-09-29 11:45:57 +00:00
[3.6] bpo-30854: Fix compile error when --without-threads (GH-2581) (#2583)
* bpo-30854: Fix compile error when --without-threads
* bpo-30854: fix news
(cherry picked from commit 0c31163093
)
This commit is contained in:
parent
0884c40603
commit
e3a0ff0d76
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
Fix compile error when compiling --without-threads.
|
||||
Patch by Masayuki Yamamoto.
|
|
@ -621,7 +621,7 @@ Py_MakePendingCalls(void)
|
|||
arg = pendingcalls[i].arg;
|
||||
pendingfirst = (i + 1) % NPENDINGCALLS;
|
||||
if (func(arg) < 0) {
|
||||
goto error:
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
busy = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue