datatype.py: Removed unudes 'function' var