Allow stdin_from to accept an iterable of strings
Make stdin_from accept a generator as input
Small doctest tweaks
Add docstring and doctest for redirect_file_obj