bpo-44925: [docs] Fix confusing deprecation notice for typing.IO (GH-28004)

This commit is contained in:
DonnaDia 2021-08-31 12:44:27 +03:00 committed by GitHub
parent 793f55bde9
commit edae42f99f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1507,8 +1507,8 @@ Other concrete types
:func:`open`.
.. deprecated-removed:: 3.8 3.12
These types are also in the ``typing.io`` namespace, which was
never supported by type checkers and will be removed.
The ``typing.io`` namespace is deprecated and will be removed.
These types should be directly imported from ``typing`` instead.
.. class:: Pattern
Match
@ -1521,8 +1521,8 @@ Other concrete types
``Match[bytes]``.
.. deprecated-removed:: 3.8 3.12
These types are also in the ``typing.re`` namespace, which was
never supported by type checkers and will be removed.
The ``typing.re`` namespace is deprecated and will be removed.
These types should be directly imported from ``typing`` instead.
.. deprecated:: 3.9
Classes ``Pattern`` and ``Match`` from :mod:`re` now support ``[]``.