mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425)
This commit is contained in:
parent
33986465bd
commit
d01628e411
5 changed files with 24 additions and 14 deletions
|
@ -9,7 +9,10 @@ from collections.abc import *
|
|||
from concurrent.futures import Future
|
||||
from concurrent.futures.thread import _WorkItem
|
||||
from contextlib import AbstractContextManager, AbstractAsyncContextManager
|
||||
from functools import partial, partialmethod, _lru_cache_wrapper, cached_property
|
||||
from contextvars import ContextVar, Token
|
||||
from dataclasses import Field
|
||||
from functools import partial, partialmethod, cached_property
|
||||
from mailbox import Mailbox, _PartialFile
|
||||
from ctypes import Array, LibraryLoader
|
||||
from difflib import SequenceMatcher
|
||||
from filecmp import dircmp
|
||||
|
@ -60,6 +63,9 @@ class BaseTest(unittest.TestCase):
|
|||
Reversible,
|
||||
Container, Collection,
|
||||
Callable,
|
||||
Mailbox, _PartialFile,
|
||||
ContextVar, Token,
|
||||
Field,
|
||||
Set, MutableSet,
|
||||
Mapping, MutableMapping, MappingView,
|
||||
KeysView, ItemsView, ValuesView,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue