Right now, i am working on a assignment for a class, which is to calculate the mccabe complexity like it does in module flake8.
And I found that, if a function name appears more than one time, the flake8 module only output once, the last one. Does this reasonable? I think, it should output all of them. So, i want to know why it does not? can anybody explain that?
And I found that, if a function name appears more than one time, the flake8 module only output once, the last one. Does this reasonable? I think, it should output all of them. So, i want to know why it does not? can anybody explain that?