mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
Automatic class def_init(), abstract class __init__ errors
Fixed line endings Suppressed warnings [SVN r14828]
This commit is contained in:
@@ -195,9 +195,8 @@ void function::add_to_namespace(
|
||||
{
|
||||
// Binary operators need an additional overload which
|
||||
// returns NotImplemented, so that Python will try the
|
||||
// lxxx functions on the other operand. We add this
|
||||
// overload already when no overloads for the operator
|
||||
// already exist.
|
||||
// lxxx functions on the other operand. We add this when
|
||||
// no overloads for the operator already exist.
|
||||
new_func->add_overload(not_implemented_function());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user