src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html

branch
eric7
changeset 9324
7f7f3e47b238
parent 9209
b99e7fd55fd3
child 10479
856476537696
--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html	Mon Sep 12 18:07:42 2022 +0200
+++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html	Tue Sep 13 19:46:19 2022 +0200
@@ -26,6 +26,10 @@
 <table>
 
 <tr>
+<td><a href="#checkContextlibSuppress">checkContextlibSuppress</a></td>
+<td>Function to check for a contextlib.suppress with a non-specific Exception.</td>
+</tr>
+<tr>
 <td><a href="#checkTryExceptContinue">checkTryExceptContinue</a></td>
 <td>Function to check for a continue in the except block.</td>
 </tr>
@@ -40,6 +44,31 @@
 </table>
 <hr />
 <hr />
+<a NAME="checkContextlibSuppress" ID="checkContextlibSuppress"></a>
+<h2>checkContextlibSuppress</h2>
+<b>checkContextlibSuppress</b>(<i>reportError, context, config</i>)
+
+<p>
+    Function to check for a contextlib.suppress with a non-specific Exception.
+</p>
+<dl>
+
+<dt><i>reportError</i> (func)</dt>
+<dd>
+function to be used to report errors
+</dd>
+<dt><i>context</i> (SecurityContext)</dt>
+<dd>
+security context object
+</dd>
+<dt><i>config</i> (dict)</dt>
+<dd>
+dictionary with configuration data
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+<hr />
 <a NAME="checkTryExceptContinue" ID="checkTryExceptContinue"></a>
 <h2>checkTryExceptContinue</h2>
 <b>checkTryExceptContinue</b>(<i>reportError, context, config</i>)

eric ide

mercurial