(self, chain, entry, position)
Inserts rule *entry* into *chain* at position *position*.
Inserts rule *entry* into *chain* at position *position*.
Inserts rule * entry * into * chain * at position * position * .
def insert_entry(self, chain, entry, position):
        """Inserts rule *entry* into *chain* at position *position*."""
        rv = self._iptc.iptc_insert_entry(chain.encode(),
                                          ct.cast(entry, ct.c_void_p),
                                          position, self._handle)
        if rv != 1:
            raise IPTCError("can't insert entry into chain %s: %s" %
                            (chain, self.strerror()))
def insert_entry ( self , chain , entry , position ) : rv = self . _iptc . iptc_insert_entry ( chain . encode ( ) , ct . cast ( entry , ct . c_void_p ) , position , self . _handle ) if rv != 1 : raise IPTCError ( "can't insert entry into chain %s: %s" % ( chain , self . strerror ( ) ) )