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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy