Skip to content

Commit 8f9607e

Browse files
committed
Revert 'One' -> Self change
1 parent c34f258 commit 8f9607e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/spec/protocol.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ The self-types in protocols follow the
368368
...
369369

370370
class One:
371-
def copy(self) -> Self:
371+
def copy(self) -> 'One':
372372
...
373373

374374
class Other:

0 commit comments

Comments
 (0)