(
        self,
        *indexes,
        default=BaseConversion._none,
        self_conv=BaseConversion._none,
    )
Args:
          indexes (:obj:`list` of :obj:`object`): to do lookups with
          default (:obj:`object`, optional): to be returned on fail,
           like ``{}.get`` method, but now applicable to arrays too
Args:
          indexes (:obj:`list` of :obj:`object`): to do lookups with
          default (:obj:`object`, optional): to be returned on fail,
           like ``{}.get`` method, but now applicable to arrays too
Args : indexes ( : obj : list of : obj : object ) : to do lookups with default ( : obj : object optional ) : to be returned on fail like {} . get method but now applicable to arrays too
def __init__(
        self,
        *indexes,
        default=BaseConversion._none,
        self_conv=BaseConversion._none,
    ):
        """
        Args:
          indexes (:obj:`list` of :obj:`object`): to do lookups with
          default (:obj:`object`, optional): to be returned on fail,
           like ``{}.get`` method, but now applicable to arrays too
        """
        super().__init__(self_conv)
        self.indexes = [self.ensure_conversion(index) for index in indexes]
        self.default = (
            self.ensure_conversion(default)
            if default is not self._none
            else None
        )
def __init__ ( self , * indexes , default = BaseConversion . _none , self_conv = BaseConversion . _none , ) : super ( ) . __init__ ( self_conv ) self . indexes = [ self . ensure_conversion ( index ) for index in indexes ] self . default = ( self . ensure_conversion ( default ) if default is not self . _none else None )