diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h index cf92e6827..7658142fa 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -491,7 +491,7 @@ bool isinstance(handle obj) { template ::value, int> = 0> bool isinstance(handle obj) { static_assert(detail::is_generic_type::value, - "isisntance() requires specialization for this type"); + "isinstance() requires specialization for this type"); return detail::isinstance_generic(obj, typeid(T)); }