Fix left shift in Python (LP bug #1289475)

This commit is contained in:
rdb 2014-10-19 15:50:54 +00:00
parent 1c25bb4ad8
commit f3094043df

View File

@ -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;