I almost got this monstrosity to work #python
def Cat(name:str):
def Cat(name, str):
def meow():
print("meow")
def come(heard:str):
if heard == name:
print("Cat runs to you")
return Cat
The receiver doesn't work.
There is a stackoverflow q where someone got this to work using functools wrappers and an explicit "self" variable.
If it did work, I have no idea wha the dist/advantages would be.♡ 0 ↻ 0