diff options
author | MojoVampire <shadowranger+github@gmail.com> | 2022-03-06 11:49:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 11:49:42 (GMT) |
commit | eafec26ae5327bb23b6dace2650b074c3327dfa0 (patch) | |
tree | 4b29c9a699bd802142c29a07f5e7f99afdc0b162 /Python/stdlib_module_names.h | |
parent | 602024e6e12c69d836aa191d63db75862aec2493 (diff) | |
download | cpython-eafec26ae5327bb23b6dace2650b074c3327dfa0.zip cpython-eafec26ae5327bb23b6dace2650b074c3327dfa0.tar.gz cpython-eafec26ae5327bb23b6dace2650b074c3327dfa0.tar.bz2 |
bpo-14156: Make argparse.FileType work correctly for binary file modes when argument is '-' (GH-13165)
Also made modes containing 'a' or 'x' act the same as a mode containing 'w' when argument is '-'
(so 'a'/'x' return sys.stdout like 'w', and 'ab'/'xb' return sys.stdout.buffer like 'wb').
Diffstat (limited to 'Python/stdlib_module_names.h')
0 files changed, 0 insertions, 0 deletions