def __init__(self, marketcode, stockcode, stocktype,methodName): super(Comparison, self).__init__(methodName) self.marketcode = marketcode self.stockcode = stockcode self.stocktype = stocktype
来源: http://www.bubuko.com/infodetail-1994154.html