mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
edu --> educational-python educational --> educational-core interactive-learning --> student
15 lines
542 B
HTML
15 lines
542 B
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="css/tips.css">
|
|
</head>
|
|
<body>
|
|
<p>
|
|
When you want to catch exceptions thrown by some code fragment,
|
|
select it in the editor, press <span class="shortcut">&shortcut:SurroundWith;</span>
|
|
(<span class="control">Code | Surround With</span>) and choose <span class="control">try/except</span>.
|
|
This will automatically generate the except clause.</p>
|
|
<p class="image">
|
|
<img src="images/try_except.png" alt="surround"/></p>
|
|
</body>
|
|
</html>
|