摘要: Item 14: Prefer Exceptions to Returning None Functions that return None to indicate special meaning are error prone because None and other values (e.g., zero, the empty string) all evaluate to False ... 阅读全文
posted @ 2016-01-29 14:27 luckysimple 阅读(194) 评论(0) 推荐(0) 编辑