assert

通过断言进行防御性的编程、代码检查以及运行时对程序逻辑的检测等等。详见: Python 使用断言的最佳时机

results matching ""

    No results matching ""