mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-38291: DeprecationWarning when importing typing.{io,re} (#26719)
This commit is contained in:
parent
291848195f
commit
09eb817115
4 changed files with 35 additions and 16 deletions
|
@ -11,8 +11,7 @@ from io import BytesIO, TextIOWrapper
|
|||
from pathlib import Path
|
||||
from types import ModuleType
|
||||
from typing import ContextManager, Iterable, Union
|
||||
from typing import cast
|
||||
from typing.io import BinaryIO, TextIO
|
||||
from typing import cast, BinaryIO, TextIO
|
||||
from collections.abc import Sequence
|
||||
from functools import singledispatch
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue