[Python] Pitfalls: About Default Parameter Values in Functions
摘要:
Today an interesting bug (pitfall) is found when I was trying debug someone's code. There is a function which tries to check if an object exists or not. It has several parameters and some of them have default value. When using this function, the programmer intended to give some values to some ce 阅读全文
posted @ 2013-11-27 19:54 Hjärtat 阅读(690) 评论(0) 推荐(0) 编辑