assert statement
基本解釋
- [計(jì)] 斷言語句
英漢例句
- 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.
這一點(diǎn)可以通過在最后一行上調(diào)用 assert 語句進(jìn)行驗(yàn)證。 - The assert statement simply verifies that the total_rows property is equal to 4.
assert 語句僅驗(yàn)證 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.
其實(shí)程序并沒崩潰,它只是碰到一個斷言語句然后停了下來,如果你看看函數(shù)的頂部,你會看到,實(shí)際上我斷定計(jì)數(shù)器。
麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選
雙語例句
原聲例句
專業(yè)釋義
- 斷言語句