summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2023-06-07 21:18:21 (GMT)
committerGitHub <noreply@github.com>2023-06-07 21:18:21 (GMT)
commit18e9fd80d956fd39ded581f91a9448aeff74b913 (patch)
treec257290237ab66f8f18031dcad797897177ee6da /Lib/typing.py
parent2ffeb0ecc78499b52b8337073c70b569413295e0 (diff)
downloadcpython-18e9fd80d956fd39ded581f91a9448aeff74b913.zip
cpython-18e9fd80d956fd39ded581f91a9448aeff74b913.tar.gz
cpython-18e9fd80d956fd39ded581f91a9448aeff74b913.tar.bz2
[3.11] gh-103171: Revert undocumented behaviour change for runtime-checkable protocols decorated with `@final` (#105445)
Diffstat (limited to 'Lib/typing.py')
-rw-r--r--Lib/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index e6ef344..f01b8c3 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -1883,7 +1883,7 @@ class _TypingEllipsis:
_TYPING_INTERNALS = ['__parameters__', '__orig_bases__', '__orig_class__',
- '_is_protocol', '_is_runtime_protocol']
+ '_is_protocol', '_is_runtime_protocol', '__final__']
_SPECIAL_NAMES = ['__abstractmethods__', '__annotations__', '__dict__', '__doc__',
'__init__', '__module__', '__new__', '__slots__',