bpo-38291: DeprecationWarning when importing typing.{io,re} (#26719)

This commit is contained in:
Sebastian Rittau 2021-06-19 19:31:18 +02:00 committed by GitHub
parent 291848195f
commit 09eb817115
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 16 deletions

View file

@ -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