Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 6fce428 commit ea417c7Copy full SHA for ea417c7
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