@@ -2113,7 +2113,7 @@ class default:
21132113 _pairs = 'device' , 'channels' , 'dtype' , 'latency' , 'extra_settings'
21142114 # The class attributes listed in _pairs are only provided here for static
21152115 # analysis tools and for the docs. They're overwritten in __init__().
2116- device = None , None
2116+ device : ... = None , None
21172117 """Index or query string of default input/output device.
21182118
21192119 If not overwritten, this is queried from PortAudio.
@@ -2123,15 +2123,17 @@ class default:
21232123 `default`, `query_devices()`, the *device* argument of `Stream`
21242124
21252125 """
2126- channels = _default_channels = None , None
2126+ _default_channels = None , None
2127+ channels : ... = _default_channels
21272128 """Default number of input/output channels.
21282129
21292130 See Also
21302131 --------
21312132 `default`, `query_devices()`, the *channels* argument of `Stream`
21322133
21332134 """
2134- dtype = _default_dtype = 'float32' , 'float32'
2135+ _default_dtype = 'float32' , 'float32'
2136+ dtype : ... = _default_dtype
21352137 """Default data type used for input/output samples.
21362138
21372139 The types ``'float32'``, ``'int32'``, ``'int16'``, ``'int8'`` and
@@ -2144,28 +2146,30 @@ class default:
21442146
21452147 See Also
21462148 --------
2147- `default`, the *dtype* argument of `Stream`
2149+ `default`, `numpy:numpy.dtype`, the *dtype* argument of `Stream`
21482150
21492151 """
2150- latency = _default_latency = 'high' , 'high'
2152+ _default_latency = 'high' , 'high'
2153+ latency : ... = _default_latency
21512154 """See the *latency* argument of `Stream`."""
2152- extra_settings = _default_extra_settings = None , None
2155+ _default_extra_settings = None , None
2156+ extra_settings : ... = _default_extra_settings
21532157 """Host-API-specific input/output settings.
21542158
21552159 See Also
21562160 --------
21572161 AsioSettings, CoreAudioSettings, WasapiSettings
21582162
21592163 """
2160- samplerate = None
2164+ samplerate : ... = None
21612165 """Sampling frequency in Hertz (= frames per second).
21622166
21632167 See Also
21642168 --------
21652169 `default`, `query_devices()`
21662170
21672171 """
2168- blocksize = _lib .paFramesPerBufferUnspecified
2172+ blocksize : ... = _lib .paFramesPerBufferUnspecified
21692173 """See the *blocksize* argument of `Stream`."""
21702174 clip_off = False
21712175 """Disable clipping.
0 commit comments