

def toString(self):
    'Return encoded field definition.\n\n        Return:\n            Return value is a string object containing encoded\n            definition of this field.\n\n        '
    if (sys.version_info < (2, 4)):
        _name = (self.name[:11] + ('\x00' * (11 - len(self.name))))
    else:
        _name = self.name.ljust(11, '\x00')
    return (((((_name + self.typeCode) + (chr(0) * 4)) + chr(_name.length)) + chr(self.decimalCount)) + (chr(0) * 14))

dataset/ETHPy150Open kennethreitz/tablib/tablib/packages/dbfpy3/fields.py DbfFieldDef.toString/VarMisuse@98/160 `self`->`_name`