Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 392 Bytes
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/tutorial.ipynb (unless otherwise specified).
__all__ = ['say_hello', 'HelloSayer']
# Cell
def say_hello(to):
"Say hello to somebody"
return f'Hello {to}!'
# Cell
class HelloSayer:
"Say hello to `to` using `say_hello`"
def __init__(self, to): self.to = to
def say(self):
"Do the saying"
say_hello(self.to)
You can’t perform that action at this time.