Loading setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ else: setup( name='xopen', version='0.3.2', version='0.3.3', author='Marcel Martin', author_email='mail@marcelm.net', url='https://github.com/marcelm/xopen/', Loading xopen.py +10 −7 Original line number Diff line number Diff line Loading @@ -197,6 +197,9 @@ def xopen(filename, mode='r', compresslevel=6): # standard input and standard output handling if filename == '-': if not _PY3: return dict(r=sys.stdin, w=sys.stdout)[mode] else: return dict( r=sys.stdin, rt=sys.stdin, Loading Loading
setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ else: setup( name='xopen', version='0.3.2', version='0.3.3', author='Marcel Martin', author_email='mail@marcelm.net', url='https://github.com/marcelm/xopen/', Loading
xopen.py +10 −7 Original line number Diff line number Diff line Loading @@ -197,6 +197,9 @@ def xopen(filename, mode='r', compresslevel=6): # standard input and standard output handling if filename == '-': if not _PY3: return dict(r=sys.stdin, w=sys.stdout)[mode] else: return dict( r=sys.stdin, rt=sys.stdin, Loading