def visit_FunctionDef(self, node: ast.FunctionDef) -> Any:
# We don't need to check for the function name
# Just letting the command above stay. to show how stupid I am
# We need to either check for the name, or, or, it self._method is None
if self._method is not None:
return
self._method = node
48
u/geeshta Dec 09 '21
I am most hurt by the casing.
visit_FunctionDef
Serously?
158
u/[deleted] Dec 09 '21
Did this dude stutter while typing?
39
u/abrams666 Dec 09 '21
I like the attitude to show own mistakes, in worst case it makes a smile, in best case it prevents another one doing the same shit
18
u/Willinton06 Dec 09 '21
Is that… camelSnake case Or snakeCamel case?
26
u/ZedTT Dec 09 '21
Did OP mean "comment" instead of "command?"
22
u/onichama Dec 09 '21
Image Transcription: Code
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!