Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9d7ce9

Browse files
committed
r -> rt
1 parent 7223554 commit b9d7ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

06_wc/solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_args():
1717
metavar='FILE',
1818
nargs='*',
1919
default=[sys.stdin],
20-
type=argparse.FileType('r'),
20+
type=argparse.FileType('rt'),
2121
help='Input file(s)')
2222

2323
return parser.parse_args()

0 commit comments

Comments
 (0)