>I'd also question why you seem to have a function that has the class
>name in its name? Should that function not be a method of the class?
>Or is it part of some third party library perhaps?
Thanks for the clarification!! Could you please make an example of this two
condition I still try to devo
-
On Tue, Jan 20, 2015 4:44 PM CET Alan Gauld wrote:
>On 20/01/15 12:04, jarod...@libero.it wrote:
>> Dear all, I continue to try to understand some code:
>> class Tutto():
I think you need a new-style class wit property.
"Return a property attribute for new-style cl
On 20/01/15 12:04, jarod...@libero.it wrote:
Dear all, I continue to try to understand some code:
class Tutto():
def __init__(self):
print "Ok"
#@property
def readsets(self,nome):
self.nome = nome
self._readsets = parse_tutto_readset_file(self.nome)
Dear all, I continue to try to understand some code:
class Tutto():
def __init__(self):
print "Ok"
#@property
def readsets(self,nome):
self.nome = nome
self._readsets = parse_tutto_readset_file(self.nome)
return self._readsets
Why If uncomment the decora