Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An <assert-statement> suspends execution if <boolean-expression> is evaluated to False.
-
assert-statement = "Debug" "." "Assert" boolean-expression
Runtime Semantics.
All of <boolean-expression> is always evaluated. For example, even if the first part of an And expression evaluates False, the entire expression is evaluated.