Skip to content

Commit 7ab1cd3

Browse files
anntzerwjakob
authored andcommitted
Remove spurious quote in error message. (#1202)
1 parent 83e7309 commit 7ab1cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/cast.h

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

0 commit comments

Comments
 (0)