Why is this Python function not passed by reference?

后端 未结 0 1427
孤独总比滥情好
孤独总比滥情好 2020-12-24 00:48
def funcA():
    print("No")

def funcB():
    print("Yes")

class A:
    def __init__(self, func):
        self.func = func
    
    def getB(se         


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