From d7370be2480958cc315e6521573a69b59bd0458d Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Fri, 3 Jul 2015 10:58:18 +0200 Subject: Remove unnecessary "global" statements --- sounddevice.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sounddevice.py b/sounddevice.py index b4f505f..a5190b9 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -459,7 +459,6 @@ def wait(): get_status """ - global _last_callback if _last_callback: return _last_callback.wait() @@ -473,7 +472,6 @@ def stop(ignore_errors=True): :class:`RawInputStream`, :class:`RawOutputStream`. """ - global _last_callback if _last_callback: _last_callback.stream.close(ignore_errors) -- cgit v1.2.3