doc: revisions to input/factory.py