Browse Source

Fix left shift in Python (LP bug #1289475)

rdb 11 years ago
parent
commit
f3094043df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/interrogate/interfaceMakerPythonNative.cxx

+ 1 - 1
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;