We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c2533f commit 2900ff9Copy full SHA for 2900ff9
1 file changed
Doc/tut/tut.tex
@@ -2751,6 +2751,10 @@ \section{Handling Exceptions \label{handling}}
2751
Use this with extreme caution, since it is easy to mask a real
2752
programming error in this way!
2753
2754
+Each exception clause must have at least one line of executable code
2755
+in the block. Comments are not executable code. If you want the
2756
+exception clause to do nothing, use the \keyword{pass} statement.
2757
+
2758
The \keyword{try} \ldots\ \keyword{except} statement has an optional
2759
\emph{else clause}, which must follow all except clauses. It is
2760
useful to place code that must be executed if the try clause does not
0 commit comments