From d08b3a8ab8eb095e663ab7b33147ce19640cb855 Mon Sep 17 00:00:00 2001 From: Michael Carlstrom Date: Fri, 24 Jan 2025 23:32:14 -0500 Subject: [PATCH] remove accidental > Signed-off-by: Michael Carlstrom --- include/pybind11/numpy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/numpy.h b/include/pybind11/numpy.h index 3f0ca31e8e..85e1f58d32 100644 --- a/include/pybind11/numpy.h +++ b/include/pybind11/numpy.h @@ -175,7 +175,7 @@ inline numpy_internals &get_numpy_internals() { PYBIND11_NOINLINE module_ import_numpy_core_submodule(const char *submodule_name) { module_ numpy = module_::import("numpy"); str version_string = numpy.attr("__version__"); - > module_ numpy_lib = module_::import("numpy.lib"); + module_ numpy_lib = module_::import("numpy.lib"); object numpy_version = numpy_lib.attr("NumpyVersion")(version_string); int major_version = numpy_version.attr("major").cast();