-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Open
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
Expose the items, keys, and values types in the types module. See dictionary view objects. These correspond to the ItemsView, KeysView, and MappingView view types in collections.abc.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
- bpo-46399: Expose DictKeysType, DictValuesType, and DictItemsType in … #30629
- bpo-46399: Add GenericAlias support to
dict_keys,dict_valuesanddict_itemstypes #30630
Linked PRs
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement