19 lines
248 B
Plaintext
19 lines
248 B
Plaintext
class AClass():
|
|
|
|
"""A docstring"""
|
|
|
|
def foo(self):
|
|
print("class member foo")
|
|
|
|
# What about blank lines?
|
|
|
|
def bar(self):
|
|
print("class member bar")
|
|
|
|
# Oh my.
|
|
|
|
let a = AClass()
|
|
a.foo()
|
|
a.bar()
|
|
print(AClass.__doc__)
|