Is there a different way of using for loop inside __init__?

后端 未结 0 637
终归单人心
终归单人心 2020-12-09 22:50
class Node(object):
    def __init__(self, inbound_nodes=[]):
        # Nodes from which this Node receives values
        self.inbound_nodes = inbound_nodes
                


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