Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typing patch
  • Loading branch information
arihant2math committed Apr 22, 2025
commit 22dc26ee05b63c4a5f43027017f2d71e90d0bbb8
7 changes: 0 additions & 7 deletions Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2846,13 +2846,6 @@ class Other(Leaf): # Error reported by type checker
KeysView = _alias(collections.abc.KeysView, 1)
ItemsView = _alias(collections.abc.ItemsView, 2)
ValuesView = _alias(collections.abc.ValuesView, 1)
try:
# XXX: RUSTPYTHON; contextlib support for wasm
import contextlib
ContextManager = _alias(contextlib.AbstractContextManager, 1, name='ContextManager')
AsyncContextManager = _alias(contextlib.AbstractAsyncContextManager, 1, name='AsyncContextManager')
except ImportError:
pass
Dict = _alias(dict, 2, inst=False, name='Dict')
DefaultDict = _alias(collections.defaultdict, 2, name='DefaultDict')
OrderedDict = _alias(collections.OrderedDict, 2)
Expand Down
Loading