(self)
return indices
Parse constant array indices.
Parse constant array indices.
Parse constant array indices .
def _parse_indices(self):
        """Parse constant array indices."""
        indices = []
        if self.skip_blank_read_if((b'[', b'(')):
            while True:
                if self.skip_blank() in set(iterchar(DIGITS)):
                    indices.append(self._parse_const())
                else:
                    indices.append(self._parse_variable().to_int())
                if not self.skip_blank_read_if((b',',)):
                    break
            self.require_read((b']', b')'))
        return indices
def _parse_indices ( self ) : indices = [ ] if self . skip_blank_read_if ( ( b'[' , b'(' ) ) : while True : if self . skip_blank ( ) in set ( iterchar ( DIGITS ) ) : indices . append ( self . _parse_const ( ) ) else : indices . append ( self . _parse_variable ( ) . to_int ( ) ) if not self . skip_blank_read_if ( ( b',' , ) ) : break self . require_read ( ( b']' , b')' ) ) return indices