Browse Source

OrderedDict import is no longer needed (#4890)

pull/5137/head
Raymond Hettinger 8 years ago
committed by GitHub
parent
commit
05565ed27e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Lib/argparse.py

3
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__(

Loading…
Cancel
Save