MCPcopy Create free account
hub / github.com/pybind/pybind11 / clear

Function clear

include/pybind11/pytypes.h:791–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789 // Does nothing; provided for backwards compatibility.
790 PYBIND11_DEPRECATED("Use of error_already_set.clear() is deprecated")
791 void clear() {}
792
793 /// Check if the currently trapped error type matches the given Python exception class (or a
794 /// subclass thereof). May also be passed a tuple to search for any exception class matches in

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected