PartIter.replace

Replaces the #GMimeObject at the current position with replacement.

class PartIter
bool
replace

Parameters

replacement gmime.object.ObjectWrap

a #GMimeObject

Return Value

Type: bool

true if the part at the current position was replaced or false otherwise.