human
I wrote the below code

    class ModelInfoIterator(object, ):
        'ModelInfo    iterator    implementation    class\n                '
        __CACHE_LIMIT = 1000
        debug = False
        def __init__(self, modelIDs):
            '\n                        Parameters:\n                        ----------------------------------------------------------------------\n                        modelIDs:                    a    sequence    of    Nupic    model    identifiers    for    which    this\n                                                                                iterator    will    return    _NupicModelInfo    instances.\n                                                                                NOTE:    The    returned    instances    are    NOT    guaranteed    to    be    in\n                                                                                the    same    order    as    the    IDs    in    modelIDs    sequence.\n                        retval:                            nothing\n                        '
            self.__modelIDs = tuple(modelIDs)
            if self.debug:
                _emit(Verbosity.DEBUG, ('MODELITERATOR:    __init__.
   numModelIDs=%s' % len(self.__modelIDs)))
            self.__nextIndex = 0
            self.__modelCache = collections.deque()
            return
        def __iter__(self):
            'Iterator    Protocol    function\n\n                        Parameters:\n                        ----------------------------------------------------------------------\n                        retval:                                    self\n                        '
            return self
        def next(self):
            'Iterator    Protocol    function\n\n                        Parameters:\n                        ----------------------------------------------------------------------\n                        retval:                            A    _NupicModelInfo    instance    or    raises    StopIteration    to\n                                              ...

What's a good function header?

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

def _iterModels(modelIDs):