diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-01-12 06:20:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 06:20:33 (GMT) |
commit | 05565ed27e4445e99b59268ba42cf4dd598ece77 (patch) | |
tree | 2d639dfbb312218ec1d5139b474ec68abc53c21b /Lib/argparse.py | |
parent | 3764bb075a73074f55568fc7c37adde6054eb59a (diff) | |
download | cpython-05565ed27e4445e99b59268ba42cf4dd598ece77.zip cpython-05565ed27e4445e99b59268ba42cf4dd598ece77.tar.gz cpython-05565ed27e4445e99b59268ba42cf4dd598ece77.tar.bz2 |
OrderedDict import is no longer needed (#4890)
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r-- | Lib/argparse.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py index d8bbd35..e3da7f0 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py @@ -83,7 +83,6 @@ __all__ = [ ] -import collections as _collections import os as _os import re as _re import sys as _sys @@ -1084,7 +1083,7 @@ class _SubParsersAction(Action): self._prog_prefix = prog self._parser_class = parser_class - self._name_parser_map = _collections.OrderedDict() + self._name_parser_map = {} self._choices_actions = [] super(_SubParsersAction, self).__init__( |