cypy/data.py
def value(self, item=0, default=None):
        """ Obtain a single value from the record by index or key. If no
        index or key is specified, the first value is returned. If the
        specified item does not exist, the default value is returned.

        :param item:
        :param default:
        :return:
        """
        try:
            index = self.index(item)
        except (IndexError, KeyError):
            return default
        else:
            return self[index]
 Obtain a single value from the record by index or key. If no
        index or key is specified, the first value is returned. If the
        specified item does not exist, the default value is returned.

        :param item:
        :param default:
        :return:
        
Obtain a single value from the record by index or key. If no
index or key is specified, the first value is returned. If the
specified item does not exist, the default value is returned.
Obtain a single value from the record by index or key . If no index or key is specified the first value is returned . If the specified item does not exist the default value is returned .
def value(self, item=0, default=None):
        try:
            index = self.index(item)
        except (IndexError, KeyError):
            return default
        else:
            return self[index]
def value ( self , item = 0 , default = None ) : try : index = self . index ( item ) except ( IndexError , KeyError ) : return default else : return self [ index ]
Obtain a single value from the record by index or key.
Obtain a single value from the record by index or key .
""" Obtain a single value from the record by index or key. If no
        index or key is specified, the first value is returned. If the
        specified item does not exist, the default value is returned.

        :param item:
        :param default:
        :return:
        """
None
self
item
None
default
None