Skip to content

Commit d7370be

Browse files
committed
Remove unnecessary "global" statements
1 parent 1689a16 commit d7370be

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sounddevice.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,6 @@ def wait():
459459
get_status
460460
461461
"""
462-
global _last_callback
463462
if _last_callback:
464463
return _last_callback.wait()
465464

@@ -473,7 +472,6 @@ def stop(ignore_errors=True):
473472
:class:`RawInputStream`, :class:`RawOutputStream`.
474473
475474
"""
476-
global _last_callback
477475
if _last_callback:
478476
_last_callback.stream.close(ignore_errors)
479477

0 commit comments

Comments
 (0)