--- a/eric6/Documentation/Source/patch_modpython.html Wed Sep 25 19:40:31 2019 +0200 +++ b/eric6/Documentation/Source/patch_modpython.html Wed Sep 25 19:42:44 2019 +0200 @@ -18,61 +18,79 @@ </style> </head> -<body><a NAME="top" ID="top"></a> +<body> +<a NAME="top" ID="top"></a> <h1>patch_modpython</h1> + <p> Script to patch mod_python for usage with the eric6 IDE. </p> <h3>Global Attributes</h3> + <table> <tr><td>modDir</td></tr><tr><td>progName</td></tr> </table> <h3>Classes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Functions</h3> + <table> + <tr> <td><a href="#initGlobals">initGlobals</a></td> <td>Module function to set the values of globals that need more than a simple assignment.</td> -</tr><tr> +</tr> +<tr> <td><a href="#main">main</a></td> <td>The main function of the script.</td> -</tr><tr> +</tr> +<tr> <td><a href="#usage">usage</a></td> <td>Display a usage message and exit.</td> </tr> </table> -<hr /><hr /> +<hr /> +<hr /> <a NAME="initGlobals" ID="initGlobals"></a> <h2>initGlobals</h2> <b>initGlobals</b>(<i></i>) + <p> Module function to set the values of globals that need more than a simple assignment. </p> <div align="right"><a href="#top">Up</a></div> -<hr /><hr /> +<hr /> +<hr /> <a NAME="main" ID="main"></a> <h2>main</h2> <b>main</b>(<i>argv</i>) + <p> The main function of the script. -</p><dl> +</p> +<dl> + <dt><i>argv</i></dt> <dd> list of command line arguments (list of strings) </dd> </dl> <div align="right"><a href="#top">Up</a></div> -<hr /><hr /> +<hr /> +<hr /> <a NAME="usage" ID="usage"></a> <h2>usage</h2> <b>usage</b>(<i>rcode=2</i>) + <p> Display a usage message and exit. -</p><dl> +</p> +<dl> + <dt><i>rcode</i></dt> <dd> return code passed back to the calling process (integer)