|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.patch_pyxml</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.patch_pyxml</h1> |
|
12 <p> |
|
13 Script to patch pyXML to correct a bug. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>progName</td></tr><tr><td>pyxmlModDir</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr><td>None</td></tr> |
|
22 </table> |
|
23 <h3>Functions</h3> |
|
24 <table> |
|
25 <tr> |
|
26 <td><a href="#initGlobals">initGlobals</a></td> |
|
27 <td>Sets the values of globals that need more than a simple assignment.</td> |
|
28 </tr><tr> |
|
29 <td><a href="#isPatched">isPatched</a></td> |
|
30 <td>Function to check, if pyXML is already patched.</td> |
|
31 </tr><tr> |
|
32 <td><a href="#main">main</a></td> |
|
33 <td>The main function of the script.</td> |
|
34 </tr><tr> |
|
35 <td><a href="#patchPyXML">patchPyXML</a></td> |
|
36 <td>The patch function.</td> |
|
37 </tr><tr> |
|
38 <td><a href="#usage">usage</a></td> |
|
39 <td>Display a usage message and exit.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="initGlobals" ID="initGlobals"></a> |
|
44 <h2>initGlobals</h2> |
|
45 <b>initGlobals</b>(<i></i>) |
|
46 <p> |
|
47 Sets the values of globals that need more than a simple assignment. |
|
48 </p> |
|
49 <div align="right"><a href="#top">Up</a></div> |
|
50 <hr /><hr /> |
|
51 <a NAME="isPatched" ID="isPatched"></a> |
|
52 <h2>isPatched</h2> |
|
53 <b>isPatched</b>(<i></i>) |
|
54 <p> |
|
55 Function to check, if pyXML is already patched. |
|
56 </p><dl> |
|
57 <dt>Returns:</dt> |
|
58 <dd> |
|
59 flag indicating patch status (boolean) |
|
60 </dd> |
|
61 </dl> |
|
62 <div align="right"><a href="#top">Up</a></div> |
|
63 <hr /><hr /> |
|
64 <a NAME="main" ID="main"></a> |
|
65 <h2>main</h2> |
|
66 <b>main</b>(<i>argv</i>) |
|
67 <p> |
|
68 The main function of the script. |
|
69 </p><p> |
|
70 argv is the list of command line arguments. |
|
71 </p> |
|
72 <div align="right"><a href="#top">Up</a></div> |
|
73 <hr /><hr /> |
|
74 <a NAME="patchPyXML" ID="patchPyXML"></a> |
|
75 <h2>patchPyXML</h2> |
|
76 <b>patchPyXML</b>(<i></i>) |
|
77 <p> |
|
78 The patch function. |
|
79 </p> |
|
80 <div align="right"><a href="#top">Up</a></div> |
|
81 <hr /><hr /> |
|
82 <a NAME="usage" ID="usage"></a> |
|
83 <h2>usage</h2> |
|
84 <b>usage</b>(<i>rcode = 2</i>) |
|
85 <p> |
|
86 Display a usage message and exit. |
|
87 </p><p> |
|
88 rcode is the return code passed back to the calling process. |
|
89 </p> |
|
90 <div align="right"><a href="#top">Up</a></div> |
|
91 <hr /> |
|
92 </body></html> |