mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-24 14:15:11 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a8046ffe2d
commit
059362bcab
@ -574,7 +574,8 @@ PYBIND11_NAMESPACE_END(detail)
|
||||
/// thrown to propagate python-side errors back through C++ which can either be caught manually or
|
||||
/// else falls back to the function dispatcher (which then raises the captured error back to
|
||||
/// python).
|
||||
class PYBIND11_EXPORT_EXCEPTION error_already_set : public std::exception, public std::nested_exception {
|
||||
class PYBIND11_EXPORT_EXCEPTION error_already_set : public std::exception,
|
||||
public std::nested_exception {
|
||||
public:
|
||||
/// Fetches the current Python exception (using PyErr_Fetch()), which will clear the
|
||||
/// current Python error indicator.
|
||||
|
Loading…
Reference in New Issue
Block a user