Documentation/Source/eric5.patch_pyxml.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
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_pyxml</h1> 23 <h1>eric5.patch_pyxml</h1>
24 <p> 24 <p>
25 &#83;&#99;&#114;&#105;&#112;&#116; &#116;&#111; &#112;&#97;&#116;&#99;&#104; &#112;y&#88;&#77;&#76; &#116;&#111; &#99;&#111;&#114;&#114;&#101;&#99;&#116; &#97; &#98;&#117;&#103;. 25 Script to patch pyXML to correct a bug.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>progName</td></tr><tr><td>pyxmlModDir</td></tr> 29 <tr><td>progName</td></tr><tr><td>pyxmlModDir</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>&#83;&#101;&#116;&#115; &#116;&#104;&#101; v&#97;&#108;&#117;&#101;&#115; &#111;&#102; &#103;&#108;&#111;&#98;&#97;&#108;&#115; &#116;&#104;&#97;&#116; &#110;&#101;&#101;&#100; &#109;&#111;&#114;&#101; &#116;&#104;&#97;&#110; &#97; &#115;&#105;&#109;&#112;&#108;&#101; &#97;&#115;&#115;&#105;&#103;&#110;&#109;&#101;&#110;&#116;.</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="#isPatched">isPatched</a></td> 41 <td><a href="#isPatched">isPatched</a></td>
42 <td>&#70;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#112;y&#88;&#77;&#76; &#105;&#115; &#97;&#108;&#114;&#101;&#97;&#100;y &#112;&#97;&#116;&#99;&#104;&#101;&#100;.</td> 42 <td>Function to check, if pyXML is already patched.</td>
43 </tr><tr> 43 </tr><tr>
44 <td><a href="#main">main</a></td> 44 <td><a href="#main">main</a></td>
45 <td>&#84;&#104;&#101; &#109;&#97;&#105;&#110; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#115;&#99;&#114;&#105;&#112;&#116;.</td> 45 <td>The main function of the script.</td>
46 </tr><tr> 46 </tr><tr>
47 <td><a href="#patchPyXML">patchPyXML</a></td> 47 <td><a href="#patchPyXML">patchPyXML</a></td>
48 <td>&#84;&#104;&#101; &#112;&#97;&#116;&#99;&#104; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;.</td> 48 <td>The patch function.</td>
49 </tr><tr> 49 </tr><tr>
50 <td><a href="#usage">usage</a></td> 50 <td><a href="#usage">usage</a></td>
51 <td>&#68;&#105;&#115;&#112;&#108;&#97;y &#97; &#117;&#115;&#97;&#103;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#97;&#110;&#100; &#101;x&#105;&#116;.</td> 51 <td>Display a usage message and exit.</td>
52 </tr> 52 </tr>
53 </table> 53 </table>
54 <hr /><hr /> 54 <hr /><hr />
55 <a NAME="initGlobals" ID="initGlobals"></a> 55 <a NAME="initGlobals" ID="initGlobals"></a>
56 <h2>initGlobals</h2> 56 <h2>initGlobals</h2>
57 <b>initGlobals</b>(<i></i>) 57 <b>initGlobals</b>(<i></i>)
58 <p> 58 <p>
59 &#83;&#101;&#116;&#115; &#116;&#104;&#101; v&#97;&#108;&#117;&#101;&#115; &#111;&#102; &#103;&#108;&#111;&#98;&#97;&#108;&#115; &#116;&#104;&#97;&#116; &#110;&#101;&#101;&#100; &#109;&#111;&#114;&#101; &#116;&#104;&#97;&#110; &#97; &#115;&#105;&#109;&#112;&#108;&#101; &#97;&#115;&#115;&#105;&#103;&#110;&#109;&#101;&#110;&#116;. 59 Sets the values of globals that need more than a simple assignment.
60 </p> 60 </p>
61 <div align="right"><a href="#top">Up</a></div> 61 <div align="right"><a href="#top">Up</a></div>
62 <hr /><hr /> 62 <hr /><hr />
63 <a NAME="isPatched" ID="isPatched"></a> 63 <a NAME="isPatched" ID="isPatched"></a>
64 <h2>isPatched</h2> 64 <h2>isPatched</h2>
65 <b>isPatched</b>(<i></i>) 65 <b>isPatched</b>(<i></i>)
66 <p> 66 <p>
67 &#70;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#112;y&#88;&#77;&#76; &#105;&#115; &#97;&#108;&#114;&#101;&#97;&#100;y &#112;&#97;&#116;&#99;&#104;&#101;&#100;. 67 Function to check, if pyXML is already patched.
68 </p><dl> 68 </p><dl>
69 <dt>Returns:</dt> 69 <dt>Returns:</dt>
70 <dd> 70 <dd>
71 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#112;&#97;&#116;&#99;&#104; &#115;&#116;&#97;&#116;&#117;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 71 flag indicating patch status (boolean)
72 </dd> 72 </dd>
73 </dl> 73 </dl>
74 <div align="right"><a href="#top">Up</a></div> 74 <div align="right"><a href="#top">Up</a></div>
75 <hr /><hr /> 75 <hr /><hr />
76 <a NAME="main" ID="main"></a> 76 <a NAME="main" ID="main"></a>
77 <h2>main</h2> 77 <h2>main</h2>
78 <b>main</b>(<i>argv</i>) 78 <b>main</b>(<i>argv</i>)
79 <p> 79 <p>
80 &#84;&#104;&#101; &#109;&#97;&#105;&#110; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#115;&#99;&#114;&#105;&#112;&#116;. 80 The main function of the script.
81 </p><p> 81 </p><p>
82 &#97;&#114;&#103;v &#105;&#115; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#108;&#105;&#110;&#101; &#97;&#114;&#103;&#117;&#109;&#101;&#110;&#116;&#115;. 82 argv is the list of command line arguments.
83 </p> 83 </p>
84 <div align="right"><a href="#top">Up</a></div> 84 <div align="right"><a href="#top">Up</a></div>
85 <hr /><hr /> 85 <hr /><hr />
86 <a NAME="patchPyXML" ID="patchPyXML"></a> 86 <a NAME="patchPyXML" ID="patchPyXML"></a>
87 <h2>patchPyXML</h2> 87 <h2>patchPyXML</h2>
88 <b>patchPyXML</b>(<i></i>) 88 <b>patchPyXML</b>(<i></i>)
89 <p> 89 <p>
90 &#84;&#104;&#101; &#112;&#97;&#116;&#99;&#104; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;. 90 The patch function.
91 </p> 91 </p>
92 <div align="right"><a href="#top">Up</a></div> 92 <div align="right"><a href="#top">Up</a></div>
93 <hr /><hr /> 93 <hr /><hr />
94 <a NAME="usage" ID="usage"></a> 94 <a NAME="usage" ID="usage"></a>
95 <h2>usage</h2> 95 <h2>usage</h2>
96 <b>usage</b>(<i>rcode = 2</i>) 96 <b>usage</b>(<i>rcode = 2</i>)
97 <p> 97 <p>
98 &#68;&#105;&#115;&#112;&#108;&#97;y &#97; &#117;&#115;&#97;&#103;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#97;&#110;&#100; &#101;x&#105;&#116;. 98 Display a usage message and exit.
99 </p><p> 99 </p><p>
100 &#114;&#99;&#111;&#100;&#101; &#105;&#115; &#116;&#104;&#101; &#114;&#101;&#116;&#117;&#114;&#110; &#99;&#111;&#100;&#101; &#112;&#97;&#115;&#115;&#101;&#100; &#98;&#97;&#99;&#107; &#116;&#111; &#116;&#104;&#101; &#99;&#97;&#108;&#108;&#105;&#110;&#103; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 100 rcode is the return code passed back to the calling process.
101 </p> 101 </p>
102 <div align="right"><a href="#top">Up</a></div> 102 <div align="right"><a href="#top">Up</a></div>
103 <hr /> 103 <hr />
104 </body></html> 104 </body></html>

eric ide

mercurial