Newer
Older
import operator as op
class Addable:
"""
Docstring
"""
def __init__(self):
# comment
self._name = "Addable"
self._int = 1
self._verbatim = r"hello"
@property
def name(self) -> str:
return f"{self._name} and {self._int}"
def add(self, lhs: int, rhs: int) -> int:
return op.add(lhs, rhs)
var = 1 + 1