I have got the warning "undefined name notImplemented error" in spyder code analysis in the abstract class presented below:
class Shape: # define parent class
parametersList = []
def __init__(self,parametersList,color):
self.parametersList=parametersList
self.color=color
def print_color(self):
# Prints object color
raise notImplementedError
def eval_area(self):
# Evals area
raise notImplementedError
What is happening?
First off, try capitalizing "NotImplementedError". If thats not the case then I believe this thread from Semmle might give you a lead on the situation otherwise.