Skip to content

Commit f3faae1

Browse files
committed
explicit type when (re)assigning to "default"
1 parent 5063a35 commit f3faae1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sounddevice.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,8 @@ def reset(self):
22392239

22402240
if not hasattr(_ffi, 'I_AM_FAKE'):
22412241
# This object shadows the 'default' class, except when building the docs.
2242-
default = default()
2242+
_default_class = default
2243+
default: _default_class = default()
22432244

22442245

22452246
class PortAudioError(Exception):

0 commit comments

Comments
 (0)