def registerField(fieldCls):
    assert fieldCls.typeCode is not None, "Type code isn't defined"
    # XXX: use fieldCls.typeCode.upper()? in case of any decign
    # don't forget to look to the same comment in ``lookupFor`` method
    _fieldsRegistry[fieldCls.typeCode] = fieldCls
Register field definition class.
dataset/ETHPy150Open kennethreitz/tablib/tablib/packages/dbfpy3/fields.py/registerField