Skip to content

Commit ce65ab9

Browse files
committed
r -> rt
1 parent 84e2187 commit ce65ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appendix_argparse/cat_n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_args():
1414

1515
parser.add_argument('file',
1616
metavar='FILE',
17-
type=argparse.FileType('r'),
17+
type=argparse.FileType('rt'),
1818
help='Input file')
1919

2020
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