We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6fce428 + ea417c7 commit 80d1a7cCopy full SHA for 80d1a7c
CXX/Python3/Objects.hxx
@@ -413,7 +413,7 @@ namespace Py
413
{
414
}
415
416
- bool accepts( PyObject *pyob )
+ virtual bool accepts( PyObject *pyob ) const
417
418
return pyob == NULL;
419
@@ -1520,7 +1520,7 @@ namespace Py
1520
1521
int operator-( const iterator &other ) const
1522
1523
- if( seq.ptr() != other.seq.ptr() )
+ if( seq->ptr() != other.seq->ptr() )
1524
throw RuntimeError( "SeqBase<T>::iterator comparison error" );
1525
1526
return count - other.count;
0 commit comments