llgd.net
当前位置:首页 >> DEF __CAll__(sElF): Apply(sElF.FunC, sElF.Args)... >>

DEF __CAll__(sElF): Apply(sElF.FunC, sElF.Args)...

apply(function, args[, keywords]) The function argument must be a callable object (a user-defined or built-in function or method, or a class object) and the argsargument must be a sequence. The function is called with args as t...

class boss: def __init__(self,n,impos,im,p,g): self.name=n self.image=c.create_image(impos,image=im) self.hp=25 self.attack=17 self.defence...

python 2.6用add很正常啊,add看起来没啥问题,到是别的函数有些小问题。 1. remove前判断下这个item是不是存在 2.if curNode is head : 应该是 if curNode is self._head 3._BagIterator(self._head) 是个什么东西? 自己写了一个 4. 下划线最...

网站首页 | 网站地图
All rights reserved Powered by www.llgd.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com