mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +00:00
83a8a977a7
This commit adds `error_already_set::matches()` convenience method to check if the exception trapped by `error_already_set` matches a given Python exception type. This will address #700 by providing a less verbose way to check exceptions. |
||
---|---|---|
.. | ||
pybind11 |