def get_stream_argparse_writes_version_to():
    is_python3 = sys.version_info[:2] >= (3, 0)
    return 'sys.stdout' if is_python3 else 'sys.stderr'
Argparse in Python 3.4 stdlib writes version number to stdout,
dataset/ETHPy150Open tartley/rerun/rerun/tests/test_options.py/get_stream_argparse_writes_version_to