How to count the number of __repr__ function calls times in one class in python?

前端 未结 0 940
南笙
南笙 2020-12-28 15:04

I have a class Neuron in one file by python:

class Neuron:
    def __init__():
       ......
    def other function():
       ......
    def __repr__(self, le         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题