Skip to content

Commit 8358e84

Browse files
committed
Re-assign sd.default without losing docstring
1 parent ba0d836 commit 8358e84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sounddevice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2239,8 +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_class = default
2243-
default: _default_class = default()
2242+
_default_instance: ... = default()
2243+
default = _default_instance
22442244

22452245

22462246
class PortAudioError(Exception):

0 commit comments

Comments
 (0)