bpo-32336: OrderedDict import is no longer needed in argparse by rhettinger · Pull Request #4890 · python/cpython

Expand Up @@ -83,7 +83,6 @@ ]

import collections as _collections import os as _os import re as _re import sys as _sys Expand Down Expand Up @@ -1084,7 +1083,7 @@ def __init__(self,
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__( Expand Down