diff --git a/source/function.cpp b/source/function.cpp index 48740b2d..fe9788e7 100644 --- a/source/function.cpp +++ b/source/function.cpp @@ -44,13 +44,13 @@ static std::map const cpp_python_operator_map{ {"operator+", "__add__"}, // {"operator-", "__sub__"}, // {"operator*", "__mul__"}, // - {"operator/", "__div__"}, // + {"operator/", "__truediv__"}, // {"operator%", "__mod__"}, // {"operator+=", "__iadd__"}, // {"operator-=", "__isub__"}, // {"operator*=", "__imul__"}, // - {"operator/=", "__idiv__"}, // + {"operator/=", "__itruediv__"}, // {"operator%=", "__imod__"}, // {"operator()", "__call__"}, //