Skip to content

Commit 82fbe76

Browse files
committed
DOC: update "see also" in "default" docstrings
1 parent 2a63fe2 commit 82fbe76

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

sounddevice.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,30 +2116,24 @@ class default:
21162116
device = None, None
21172117
"""Index or query string of default input/output device.
21182118
2119-
See the *device* argument of `Stream`.
2120-
21212119
If not overwritten, this is queried from PortAudio.
21222120
21232121
See Also
21242122
--------
2125-
`query_devices()`
2123+
`default`, `query_devices()`, the *device* argument of `Stream`
21262124
21272125
"""
21282126
channels = _default_channels = None, None
21292127
"""Default number of input/output channels.
21302128
2131-
See the *channels* argument of `Stream`.
2132-
21332129
See Also
21342130
--------
2135-
`query_devices()`
2131+
`default`, `query_devices()`, the *channels* argument of `Stream`
21362132
21372133
"""
21382134
dtype = _default_dtype = 'float32', 'float32'
21392135
"""Default data type used for input/output samples.
21402136
2141-
See the *dtype* argument of `Stream`.
2142-
21432137
The types ``'float32'``, ``'int32'``, ``'int16'``, ``'int8'`` and
21442138
``'uint8'`` can be used for all streams and functions.
21452139
Additionally, `play()`, `rec()` and `playrec()` support
@@ -2148,6 +2142,10 @@ class default:
21482142
`RawStream` support ``'int24'`` (packed 24 bit format, which is
21492143
*not* supported in NumPy!).
21502144
2145+
See Also
2146+
--------
2147+
`default`, `numpy:numpy.dtype`, the *dtype* argument of `Stream`
2148+
21512149
"""
21522150
latency = _default_latency = 'high', 'high'
21532151
"""See the *latency* argument of `Stream`."""
@@ -2164,7 +2162,7 @@ class default:
21642162
21652163
See Also
21662164
--------
2167-
`query_devices()`
2165+
`default`, `query_devices()`
21682166
21692167
"""
21702168
blocksize = _lib.paFramesPerBufferUnspecified

0 commit comments

Comments
 (0)