Skip to content

Commit fca6000

Browse files
authored
PEP 544: Add missing empty body to examples (#3783)
1 parent 134897b commit fca6000

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

peps/pep-0544.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ subtyping -- the semantics of inheritance is not changed. Examples::
401401
...
402402
def complex_method(self) -> int:
403403
# some complex code here
404+
...
404405

405406
class NiceColor(PColor):
406407
def draw(self) -> str:
@@ -415,6 +416,7 @@ subtyping -- the semantics of inheritance is not changed. Examples::
415416
return "probably gray"
416417
def complex_method(self) -> int:
417418
# class needs to implement this
419+
...
418420

419421
nice: NiceColor
420422
another: ImplicitColor

0 commit comments

Comments
 (0)