Dealing with recursive functions that are only called by themselves
Opened this issue · 0 comments
johndoknjas commented
def Rec():
Rec()
class MyClass:
def __init__(self):
pass
def classRec():
MyClass.classRec()
For this code snippet, vulture doesn't label any of the functions as unused, even though their only calls are to themselves. So to see if a function is used, I'd propose not considering recursive calls.