assert statement
基本解释
- [计] 断言语句
英汉例句
- The assert statement was added in version 1.4.
assert语句是在版本 1.4 中加入的。 - You can verify this by calling the assert statement on the last line.
这一点可以通过在最后一行上调用 assert 语句进行验证。 - The assert statement simply verifies that the total_rows property is equal to 4.
assert 语句仅验证 total_rows 属性是否等于 4。 - It didn't really crash, it found an assert statement. So if you look at the bottom of the function, you'll see that, in fact, I checked for that.
其实程序并没崩溃,它只是碰到一个断言语句然后停了下来,如果你看看函数的顶部,你会看到,实际上我断定计数器。
麻省理工公开课 - 计算机科学及编程导论课程节选
双语例句
原声例句
专业释义
- 断言语句