def __str__(self):
        """Return string with information about series."""
        s = '  '.join(s for s in (
            snipstr("'%s'" % self.name, 20) if self.name else '',
            'x'.join(str(i) for i in self.shape),
            str(self.dtype),
            self.axes,
            self.kind,
            '%i Pages' % len(self.pages),
            ('Offset=%i' % self.offset) if self.offset else '') if s)
        return 'TiffPageSeries %i  %s' % (self.index, s)
def __str__ ( self ) : s = '  ' . join ( s for s in ( snipstr ( "'%s'" % self . name , 20 ) if self . name else '' , 'x' . join ( str ( i ) for i in self . shape ) , str ( self . dtype ) , self . axes , self . kind , '%i Pages' % len ( self . pages ) , ( 'Offset=%i' % self . offset ) if self . offset else '' ) if s ) return 'TiffPageSeries %i  %s' % ( self . index , s )
Return string with information about series.