Browse Source

added newline between docstring and quak method() of class Frog

master
T. Meissner 10 years ago
parent
commit
68d6b0a424
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      python_3_oop/chapter03/duck_typing_wikipedia.py

+ 1
- 0
python_3_oop/chapter03/duck_typing_wikipedia.py View File

@ -21,6 +21,7 @@ class Duck(Bird):
class Frog:
"Frogs also can quak"
def quak(self):
print(str(self)+': quak')


Loading…
Cancel
Save