This website works better with JavaScript.
Home
Help
Sign In
tmeissner
/
learning-by-doing
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
added newline between docstring and quak method() of class Frog
master
T. Meissner
10 years ago
parent
1fea3a6738
commit
68d6b0a424
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
'
)
Write
Preview
Loading…
Cancel
Save