mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
OrderedDict import is no longer needed (#4890)
This commit is contained in:
parent
3764bb075a
commit
05565ed27e
@ -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…
Reference in New Issue
Block a user