human
I wrote the below code

    if (t in _array_types):
        return _array_types[t]()
    array_type_name = ('ArrayOf%s' % t)
    array_type = type(array_type_name, (DataObject,), {})
    def __init__(self):
        super(array_type, self).__init__(array_type_name)
        setattr(self, t, [])
    setattr(array_type, '__init__', __init__)
    _array_types[t] = array_type
    return array_type()

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def _create_array_of_type(t):