20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.patch_modpython</h1> |
23 <h1>eric5.patch_modpython</h1> |
24 <p> |
24 <p> |
25 Script to patch mod_python for usage with the eric5 IDE. |
25 Script to patch mod_python for usage with the eric5 IDE. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>modDir</td></tr><tr><td>progName</td></tr> |
29 <tr><td>modDir</td></tr><tr><td>progName</td></tr> |
30 </table> |
30 </table> |
34 </table> |
34 </table> |
35 <h3>Functions</h3> |
35 <h3>Functions</h3> |
36 <table> |
36 <table> |
37 <tr> |
37 <tr> |
38 <td><a href="#initGlobals">initGlobals</a></td> |
38 <td><a href="#initGlobals">initGlobals</a></td> |
39 <td>Sets the values of globals that need more than a simple assignment.</td> |
39 <td>Sets the values of globals that need more than a simple assignment.</td> |
40 </tr><tr> |
40 </tr><tr> |
41 <td><a href="#main">main</a></td> |
41 <td><a href="#main">main</a></td> |
42 <td>The main function of the script.</td> |
42 <td>The main function of the script.</td> |
43 </tr><tr> |
43 </tr><tr> |
44 <td><a href="#usage">usage</a></td> |
44 <td><a href="#usage">usage</a></td> |
45 <td>Display a usage message and exit.</td> |
45 <td>Display a usage message and exit.</td> |
46 </tr> |
46 </tr> |
47 </table> |
47 </table> |
48 <hr /><hr /> |
48 <hr /><hr /> |
49 <a NAME="initGlobals" ID="initGlobals"></a> |
49 <a NAME="initGlobals" ID="initGlobals"></a> |
50 <h2>initGlobals</h2> |
50 <h2>initGlobals</h2> |
51 <b>initGlobals</b>(<i></i>) |
51 <b>initGlobals</b>(<i></i>) |
52 <p> |
52 <p> |
53 Sets the values of globals that need more than a simple assignment. |
53 Sets the values of globals that need more than a simple assignment. |
54 </p> |
54 </p> |
55 <div align="right"><a href="#top">Up</a></div> |
55 <div align="right"><a href="#top">Up</a></div> |
56 <hr /><hr /> |
56 <hr /><hr /> |
57 <a NAME="main" ID="main"></a> |
57 <a NAME="main" ID="main"></a> |
58 <h2>main</h2> |
58 <h2>main</h2> |
59 <b>main</b>(<i>argv</i>) |
59 <b>main</b>(<i>argv</i>) |
60 <p> |
60 <p> |
61 The main function of the script. |
61 The main function of the script. |
62 </p><p> |
62 </p><p> |
63 argv is the list of command line arguments. |
63 argv is the list of command line arguments. |
64 </p> |
64 </p> |
65 <div align="right"><a href="#top">Up</a></div> |
65 <div align="right"><a href="#top">Up</a></div> |
66 <hr /><hr /> |
66 <hr /><hr /> |
67 <a NAME="usage" ID="usage"></a> |
67 <a NAME="usage" ID="usage"></a> |
68 <h2>usage</h2> |
68 <h2>usage</h2> |
69 <b>usage</b>(<i>rcode = 2</i>) |
69 <b>usage</b>(<i>rcode = 2</i>) |
70 <p> |
70 <p> |
71 Display a usage message and exit. |
71 Display a usage message and exit. |
72 </p><p> |
72 </p><p> |
73 rcode is the return code passed back to the calling process. |
73 rcode is the return code passed back to the calling process. |
74 </p> |
74 </p> |
75 <div align="right"><a href="#top">Up</a></div> |
75 <div align="right"><a href="#top">Up</a></div> |
76 <hr /> |
76 <hr /> |
77 </body></html> |
77 </body></html> |