回想一下,断言表达式无法保证总能够运行,因此,不会想使代码的操作根据断言是否被启用而有所差别。
Think about it. assert expressions aren't guaranteed to always run, so you don't want your code to behave differently depending on whether assertions are enabled.
回想一下,断言表达式无法保证总能够运行,因此,不会想使代码的操作根据断言是否被启用而有所差别。
Think about it. assert expressions aren't guaranteed to always run, so you don't want your code to behave differently depending on whether assertions are enabled.
应用推荐