gu a écrit :
Hi to all,
i have a module (a single .py file, actually), with a class called
HashedDir.
when i import the file and instanciate 2 instances of that class, when i
check the object's fields they're always the same, even if the two
objects should be different.
Eg:
h1 = HashedDir
Hi to all,
i have a module (a single .py file, actually), with a class called
HashedDir.
when i import the file and instanciate 2 instances of that class, when i
check the object's fields they're always the same, even if the two
objects should be different.
Eg:
h1 = HashedDir('someValue')