Skip to content

Commit caa56d3

Browse files
Add changelog entry
1 parent 680c822 commit caa56d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Unreleased
22

3+
- Add support for `AsyncIterator`, `io.Reader`, `io.Writer` and `os.PathLike` protocols.
34
- Fix incorrect behaviour on Python 3.9 and Python 3.10 that meant that
45
calling `isinstance` with `typing_extensions.Concatenate[...]` or
56
`typing_extensions.Unpack[...]` as the first argument could have a different

src/typing_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ def _caller(depth=1, default='__main__'):
657657
# `__match_args__` attribute was removed from protocol members in 3.13,
658658
# we want to backport this change to older Python versions.
659659
# 3.14 additionally added `io.Reader`, `io.Writer` and `os.PathLike` to
660-
# the list of allowed non-protocol bases.
660+
# the list of allowed protocol allowlist.
661661
# https://github.com/python/cpython/issues/127647
662662
if sys.version_info >= (3, 14):
663663
Protocol = typing.Protocol

0 commit comments

Comments
 (0)