Commit 10b4d8c4 authored by Andreas Tille's avatar Andreas Tille
Browse files

New upstream version 0.3.3

parent 1cbdbf4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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/',
+10 −7
Original line number Diff line number Diff line
@@ -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,