通过调试的重构代码(设计是对的,但是实现过程却有诸多的问题)
摘要:
#!/usr/bin/env pythonclass Processor: def __init__(self, processor): self.processor = processor def isAllowSend(self, message, setChargeFlag): passclass WhildListProcessor(Processor): def isAllowSend(self, message, setChargeFlag): print "WhildListProcessor.isAll... 阅读全文
posted @ 2014-01-02 16:32 codestyle 阅读(545) 评论(0) 推荐(0)
浙公网安备 33010602011771号