diff --git a/dtool/src/interrogate/interfaceMakerPythonNative.cxx b/dtool/src/interrogate/interfaceMakerPythonNative.cxx index ef114d6adf..0d16d14895 100755 --- a/dtool/src/interrogate/interfaceMakerPythonNative.cxx +++ b/dtool/src/interrogate/interfaceMakerPythonNative.cxx @@ -370,7 +370,7 @@ get_slotted_function_def(Object *obj, Function *func, SlottedFunctionDef &def) { return true; } - if (method_name == "operator << ") { + if (method_name == "operator <<") { def._answer_location = "tp_as_number->nb_lshift"; def._wrapper_type = WT_numeric_operator; return true;