summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2015-07-03 10:58:18 +0200
committerMatthias Geier <Matthias.Geier@gmail.com>2015-07-03 11:00:21 +0200
commitd7370be2480958cc315e6521573a69b59bd0458d (patch)
tree6da6fb111446a8101944547d59ecfb8047d07776
parent1689a1642e054750d9e17574eb012f242f0991c0 (diff)
Remove unnecessary "global" statements
-rw-r--r--sounddevice.py2
1 files changed, 0 insertions, 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)