Commit 42c3750
gh-145688: Handle typing_extensions.Protocol in _get_protocol_attrs
Address review feedback: also skip bases from typing_extensions module
so the backported Protocol class is treated the same as typing.Protocol.
Simplify NEWS entry to focus on user-visible behavior.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e0c8e43 commit 42c3750
2 files changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1884 | 1884 | | |
1885 | 1885 | | |
1886 | 1886 | | |
1887 | | - | |
| 1887 | + | |
1888 | 1888 | | |
1889 | 1889 | | |
1890 | 1890 | | |
| |||
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
0 commit comments