mirror of
https://github.com/python/cpython
synced 2026-09-29 11:35:29 +03:00
Issue #28480: Avoid label at end of compound statement --without-threads
Based on patch by Masayuki Yamamoto.
This commit is contained in:
parent
c6b1e15788
commit
fa27d5f229
2 changed files with 4 additions and 0 deletions
|
|
@ -664,6 +664,7 @@ internal_setblocking(PySocketSockObject *s, int block)
|
|||
result = 0;
|
||||
|
||||
done:
|
||||
; /* necessary for --without-threads flag */
|
||||
Py_END_ALLOW_THREADS
|
||||
|
||||
if (result) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue