From c5496ec196683431e005410cc55a42a0db22a7c5 Mon Sep 17 00:00:00 2001 From: Clint Hepner Date: Thu, 9 Feb 2023 10:50:09 -0500 Subject: [PATCH] Update pep-0544.txt Fix comments on a pair of protocol-hinted assignment. --- pep-0544.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0544.txt b/pep-0544.txt index d8c86ce8dc1..71e828810a3 100644 --- a/pep-0544.txt +++ b/pep-0544.txt @@ -781,8 +781,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: ProtoA = C # OK + b: ProtoB = C # Type check error, signatures don't match! ``NewType()`` and type aliases