From 58d4aaeedc7adeb3f9861c1ac6f574bd12421933 Mon Sep 17 00:00:00 2001 From: Eric Cousineau Date: Mon, 11 Apr 2022 14:15:11 -0400 Subject: [PATCH] Update include/pybind11/pytypes.h Co-authored-by: Aaron Gokaslan --- include/pybind11/pytypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }