Skip to content

Commit

Permalink
Merge branch 'master' into add_mod_support
Browse files Browse the repository at this point in the history
  • Loading branch information
lyskov authored Oct 10, 2022
2 parents 1cf21d1 + 2a61164 commit 205a2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ static std::map<string, string > 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__"}, //
Expand Down

0 comments on commit 205a2e7

Please sign in to comment.