Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c84fc8

Browse files
committed
Note that assignments to __debug__ are illegal
1 parent f626db7 commit 2c84fc8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/ref/ref6.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ \section{Assert statements \label{assert}}
8686
the source code for the expression that failed in the error message;
8787
it will be displayed as part of the stack trace.
8888

89+
Assignments to \code{__debug__} are illegal. The value for the
90+
built-in variable is determined when the interpreter starts.
8991

9092
\section{Assignment statements \label{assignment}}
9193

0 commit comments

Comments
 (0)