We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a3067a commit 62082cdCopy full SHA for 62082cd
Lib/test/test_typing.py
@@ -4501,7 +4501,7 @@ class Concrete3(InheritedRCProto3):
4501
r"<class .+\.InheritedRCProto\d'> isn't explicitly decorated "
4502
r"with @runtime_checkable but it is used in issubclass\(\) or "
4503
r"isinstance\(\). Instance and class checks can only be used with "
4504
- r"@runtime_checkable protocols. This may stop working in Python 3.20."
+ r"@runtime_checkable protocols. This will raise a TypeError in Python 3.20."
4505
)
4506
4507
for inherited_runtime_proto in InheritedRCProto1, InheritedRCProto2, InheritedRCProto3:
0 commit comments