

def encodeValue(self, value):
    'Return a character from the "TF?" set.\n\n        Return:\n            Return value is "T" if ``value`` is True\n            "?" if value is -1 or False otherwise.\n\n        '
    if (value is True):
        return 'T'
    if (value == (- 1)):
        return '?'
    return 'F'

dataset/ETHPy150Open kennethreitz/tablib/tablib/packages/dbfpy3/fields.py DbfLogicalFieldDef.encodeValue/original