From 5d400362ff69bad94d4ea3cc1dfc91abaa7d56a6 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Sat, 1 Jun 2024 22:58:50 -0600 Subject: [PATCH] one more review tweak on protocol wording --- docs/spec/protocol.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/spec/protocol.rst b/docs/spec/protocol.rst index 0220361b..71537150 100644 --- a/docs/spec/protocol.rst +++ b/docs/spec/protocol.rst @@ -179,10 +179,10 @@ Examples:: represent(nice) # OK represent(another) # Also OK -Note that there is little difference between explicit and implicit consistent -subtypes; the main benefit of explicit subclassing is to get some protocol -methods "for free". In addition, type checkers can statically verify that the -class actually implements the protocol correctly:: +Note that there is little difference between explicitly subclassing and +implicitly implementing the protocol; the main benefit of explicit subclassing +is to get some protocol methods "for free". In addition, type checkers can +statically verify that the class actually implements the protocol correctly:: class RGB(Protocol): rgb: tuple[int, int, int]