diff --git a/peps/pep-0544.rst b/peps/pep-0544.rst index 04df7bd7fe6..a1b80737b57 100644 --- a/peps/pep-0544.rst +++ b/peps/pep-0544.rst @@ -782,8 +782,8 @@ For example:: class C: def meth(self, x: int) -> int: ... - a: ProtoA = C # Type check error, signatures don't match! - b: ProtoB = C # OK + a: Type[ProtoA] = C # Type check error, signatures don't match! + b: Type[ProtoB] = C # OK ``NewType()`` and type aliases