AttributeError: 'NoneType' object has no attribute 'append'

后端 未结 2 394
天命终不由人
天命终不由人 2020-12-18 14:50

I have a weird problem with python passing a list as parameter to a function. Here is the code:

def foobar(depth, top, bottom, n=len(listTop)):
    print dir         


        
2条回答
提交回复
热议问题