8000 bpo-39481: Make enumerate, AsyncGeneratorType, mmap generic by emmatyping · Pull Request #19421 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-39481: Make enumerate, AsyncGeneratorType, mmap generic #19421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 10, 2020
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
Merge branch 'master' into generics1
  • Loading branch information
gvanrossum authored Apr 10, 2020
commit f606717df4e2b7225a63b9a1b0dc20635628fd2e
4 changes: 3 additions & 1 deletion Lib/test/test_genericalias.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from collections.abc import *
from contextlib import AbstractContextManager, AbstractAsyncContextManager
from mmap import mmap
from itertools import chain
from os import DirEntry
from re import Pattern, Match
from types import GenericAlias, MappingProxyType, AsyncGeneratorType
Expand Down Expand Up @@ -38,7 +39,8 @@ def test_subscriptable(self):
KeysView, ItemsView, ValuesView,
Sequence, MutableSequence,
MappingProxyType, AsyncGeneratorType,
DirEntry
DirEntry,
chain,
):
tname = t.__name__
with self.subTest(f"Testing {tname}"):
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0