ABC working example
from with_abc3 import Base
class Real(Base):
def foo(self):
print('foo in Real')
def bar(self):
print('bar in Real')
def other(self):
pass
r = Real('Jane')
print(r.name) # Jane
Jane
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
from with_abc3 import Base
class Real(Base):
def foo(self):
print('foo in Real')
def bar(self):
print('bar in Real')
def other(self):
pass
r = Real('Jane')
print(r.name) # Jane
Jane