28 : mSequence(sequence), mOffset(nOffset), mItem(sequence.getItem(nOffset)) {
42 mSequence.setItem(mOffset, value);
61 return mItem.isTuple();
Reference-counted handle on any Python object, and the root of the PyCXX object hierarchy.
Definition object.h:42
Handle on any Python sequence, and the base of Py::List, Py::Tuple, and Py::String.
Definition seqbase.h:38
seqref & operator=(const Object &value)
Store an element through the proxy.
Definition seqref.h:40
seqref(SeqBase< T > &sequence, int nOffset)
Address one element and fetch it.
Definition seqref.h:27
bool isTuple() const
Report whether the fetched element is a tuple.
Definition seqref.h:60
C++ wrappers for the embedded Python interpreter's objects, types, and extension modules.
Definition attributeerror.h:7