Skip to content

Commit 1587448

Browse files
committed
add back commented out panic
1 parent f15fb97 commit 1587448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/pybind11.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ inline std::string generate_function_signature(const char *type_caster_name_fiel
156156
} else if (c == '%') {
157157
const std::type_info *t = types[type_index++];
158158
if (!t) {
159-
// pybind11_fail("Internal error while parsing type signature (1)");
159+
pybind11_fail("Internal error while parsing type signature (1)");
160160
}
161161
if (auto *tinfo = detail::get_type_info(*t)) {
162162
handle th((PyObject *) tinfo->type);

0 commit comments

Comments
 (0)