C Gillespie wrote:
Dear All,
I ran my code through pylint to clean it up and one of the (many) errors it
through up was
Dangerous default value {} as argument
Bascially, I have:
class NewClass:
def __init__(self, myDict={}):
for key, value in myDict:
print key, value
Obviou
C Gillespie wrote:
Dear All,
I ran my code through pylint to clean it up and one of the (many) errors it
through up was
Dangerous default value {} as argument
Bascially, I have:
class NewClass:
def __init__(self, myDict={}):
for key, value in myDict:
print key, value
Obviou
C Gillespie wrote:
> Dear All,
> I ran my code through pylint to clean it up and one of the (many) errors
> it through up was
> Dangerous default value {} as argument
> Bascially, I have:
>
> class NewClass:
> def __init__(self, myDict={}):
> for key, value in myDict:
> p
Dear All,
I ran my code through pylint to clean it up and one of the (many) errors it
through up was
Dangerous default value {} as argument
Bascially, I have:
class NewClass:
def __init__(self, myDict={}):
for key, value in myDict:
print key, value
Obviously, this is not