path is re-defining a name which is already available in the outer-scope (previously defined on line 34).
It is generally a bad practice to shadow variables from the outer-scope. In most
cases, this is done unintentionally and might lead to unexpected behavior:
param=5classFoo:def__init__(self,param):# "param" would be flagged hereself.param=param
line is re-defining a name which is already available in the outer-scope (previously defined on line 47).
It is generally a bad practice to shadow variables from the outer-scope. In most
cases, this is done unintentionally and might lead to unexpected behavior:
param=5classFoo:def__init__(self,param):# "param" would be flagged hereself.param=param