static-members

Static member of a function in Python ?

Static member of a function in Python ? Question: Possible Duplicate: Static class variables in Python What is the Python equivalent of static variables inside a function? How can I use static fields in Python ? for example i want to count how many times the function has been called – how can i do …

Total answers: 4