wave.Wave_read.getmark()

Wave_read.getmark(id) Raise an error.

wave.openfp()

wave.openfp(file, mode) A synonym for open(), maintained for backwards compatibility.

wave.Wave_read.getcomptype()

Wave_read.getcomptype() Returns compression type ('NONE' is the only supported type).

wave.Wave_read.getframerate()

Wave_read.getframerate() Returns sampling frequency.

wave.Error

exception wave.Error An error raised when something is impossible because it violates the WAV specification or hits an implementation deficiency.

warnings.warn_explicit()

warnings.warn_explicit(message, category, filename, lineno, module=None, registry=None, module_globals=None) This is a low-level interface to the functionality of warn(), passing in explicitly the message, category, filename and line number, and optionally the module name and the registry (which should be the __warningregistry__ dictionary of the module). The module name defaults to the filename with .py stripped; if no registry is passed, the warning is never suppressed. message must be a s

warnings.warn()

warnings.warn(message, category=None, stacklevel=1) Issue a warning, or maybe ignore it or raise an exception. The category argument, if given, must be a warning category class (see above); it defaults to UserWarning. Alternatively message can be a Warning instance, in which case category will be ignored and message.__class__ will be used. In this case the message text will be str(message). This function raises an exception if the particular warning issued is changed into an error by the war

warnings.showwarning()

warnings.showwarning(message, category, filename, lineno, file=None, line=None) Write a warning to a file. The default implementation calls formatwarning(message, category, filename, lineno, line) and writes the resulting string to file, which defaults to sys.stderr. You may replace this function with any callable by assigning to warnings.showwarning. line is a line of source code to be included in the warning message; if line is not supplied, showwarning() will try to read the line specifie

warnings.resetwarnings()

warnings.resetwarnings() Reset the warnings filter. This discards the effect of all previous calls to filterwarnings(), including that of the -W command line options and calls to simplefilter().

warnings.simplefilter()

warnings.simplefilter(action, category=Warning, lineno=0, append=False) Insert a simple entry into the list of warnings filter specifications. The meaning of the function parameters is as for filterwarnings(), but regular expressions are not needed as the filter inserted always matches any message in any module as long as the category and line number match.