3 ms·
From the tutorial: class Index(Assembly): index(self): return How is this valid Python?
by erezsh 7y ago
From the tutorial:
class Index(Assembly):
index(self):
return
How is this valid Python?
- unwind 7y agoProbably another case of code that is published, but never executed. The first block of code on the tutorials page has the missing def keyword. Feels like a human editing error to me.
- kissgyorgy 7y agoit's not.