mirror of
https://github.com/python/cpython
synced 2026-09-29 11:35:29 +03:00
reverse sense of PyMac_Idle test
This commit is contained in:
parent
5510dc23f9
commit
124107b2a4
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ tcps_wait(self, args)
|
|||
if (!newgetargs(args, ""))
|
||||
return NULL;
|
||||
while ( self->async_busy ) {
|
||||
if ( !PyMac_Idle() ) {
|
||||
if ( PyMac_Idle() ) {
|
||||
INCREF(None);
|
||||
return None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue