摘要: To be a Pythonista 1. assert 例子1 如果关闭assert, 很危险 def delete_product(prod_id, user): assert user.is_admin(), 'Must be admin' assert store.has_product(p 阅读全文
posted @ 2019-02-19 12:54 Rocin 阅读(1596) 评论(0) 推荐(0) 编辑