Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix 3 Sphinx warnings
  • Loading branch information
vstinner committed May 31, 2023
commit fc2b2201a8ce267a4b35a8a396888b7dd6862f9c
6 changes: 3 additions & 3 deletions Doc/library/wave.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The :mod:`wave` module defines the following function and exception:
value for *mode*.

If you pass in a file-like object, the wave object will not close it when its
:meth:`close` method is called; it is the caller's responsibility to close
``close()`` method is called; it is the caller's responsibility to close
the file object.

The :func:`.open` function may be used in a :keyword:`with` statement. When
Expand Down Expand Up @@ -111,7 +111,7 @@ Wave_read Objects

Returns a :func:`~collections.namedtuple` ``(nchannels, sampwidth,
framerate, nframes, comptype, compname)``, equivalent to output of the
:meth:`get\*` methods.
``get*()`` methods.


.. method:: readframes(n)
Expand Down Expand Up @@ -222,7 +222,7 @@ Wave_write Objects
.. method:: setparams(tuple)

The *tuple* should be ``(nchannels, sampwidth, framerate, nframes, comptype,
compname)``, with values valid for the :meth:`set\*` methods. Sets all
compname)``, with values valid for the ``set*()`` methods. Sets all
parameters.


Expand Down