From f3094043dffde1b809861924804dce93fb8fb22e Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 19 Oct 2014 15:50:54 +0000 Subject: [PATCH] Fix left shift in Python (LP bug #1289475) --- dtool/src/interrogate/interfaceMakerPythonNative.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;