mirror of https://github.com/KLayout/klayout.git
Fixed a build warning
This commit is contained in:
parent
28f8a1ee7d
commit
7440acb3c0
|
|
@ -2709,7 +2709,7 @@ PythonModule::make_classes (const char *mod_name)
|
||||||
} else if (name == "__mul__") {
|
} else if (name == "__mul__") {
|
||||||
// Adding right multiplication
|
// Adding right multiplication
|
||||||
// Rationale: if pyaObj * x works, so should x * pyaObj
|
// Rationale: if pyaObj * x works, so should x * pyaObj
|
||||||
add_python_doc (*c, mt, mid, tl::to_string (tr ("This method is also available as '__mul__'")));
|
add_python_doc (*c, mt, int (mid), tl::to_string (tr ("This method is also available as '__mul__'")));
|
||||||
alt_names.push_back ("__rmul__");
|
alt_names.push_back ("__rmul__");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue