Skip to content

Commit a303c6f

Browse files
anntzerwjakob
authored andcommitted
Remove spurious quote in error message. (#1202)
1 parent cf0d0f9 commit a303c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/cast.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1576,7 +1576,7 @@ template <typename T, typename SFINAE> type_caster<T, SFINAE> &load_type(type_ca
15761576
throw cast_error("Unable to cast Python instance to C++ type (compile in debug mode for details)");
15771577
#else
15781578
throw cast_error("Unable to cast Python instance of type " +
1579-
(std::string) str(handle.get_type()) + " to C++ type '" + type_id<T>() + "''");
1579+
(std::string) str(handle.get_type()) + " to C++ type '" + type_id<T>() + "'");
15801580
#endif
15811581
}
15821582
return conv;

0 commit comments

Comments
 (0)