You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
9 lines
186 B
Python
9 lines
186 B
Python
# Bug from 3.4 threading. Bug is handling while/else
|
|
def acquire(self):
|
|
with self._cond:
|
|
while self:
|
|
rc = False
|
|
else:
|
|
rc = True
|
|
return rc
|