Roman Miroshnychenko 83a8a977a7 Add a method to check Python exception types (#772)
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.
2017-04-02 22:38:50 +02:00
..
2017-03-10 15:42:42 +01:00
2017-03-10 15:42:42 +01:00
2017-01-31 17:28:29 +01:00
2017-01-31 17:05:44 +01:00
2017-03-10 15:42:42 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00