File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ PyObject* CPyCppyy::CPPClassMethod::Call(CPPInstance*&
2424
2525// translate the arguments
2626#if PY_VERSION_HEX >= 0x03080000
27- // TODO: The following is not robust and should be revisited e.g. by makeing CPPOverloads
27+ // TODO: The following is not robust and should be revisited e.g. by making CPPOverloads
2828// that have only CPPClassMethods be true Python classmethods? Note that the original
2929// implementation wasn't 100% correct either (e.g. static size() mapped to len()).
3030//
@@ -35,7 +35,7 @@ PyObject* CPyCppyy::CPPClassMethod::Call(CPPInstance*&
3535 if ((!self || (PyObject*)self == Py_None) && nargs) {
3636 PyObject* arg0 = CPyCppyy_PyArgs_GET_ITEM (args, 0 );
3737 if ((CPPInstance_Check (arg0) && ((CPPInstance*)arg0)->ObjectIsA () == GetScope ()) && \
38- (fArgsRequired <= nargs-1 ) && ( GetMaxArgs () < nargs) ) {
38+ (fArgsRequired <= nargs-1 )) {
3939 args += 1 ; // drops first argument
4040 nargsf -= 1 ;
4141 }
You can’t perform that action at this time.
0 commit comments