- implemented some code simplifications release-2.0.1

Sat, 24 Apr 2021 12:01:06 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 24 Apr 2021 12:01:06 +0200
changeset 53
9a762a7d6f42
parent 52
af2f7efb6181
child 54
fd9d197dad6d

- implemented some code simplifications

Documentation/source/Plugin_Documentation_Sets.PluginDocumentationSets.html file | annotate | diff | comparison | revisions
Documentation/source/index-Plugin_Documentation_Sets.html file | annotate | diff | comparison | revisions
Documentation/source/index.html file | annotate | diff | comparison | revisions
PluginDocumentationSets.py file | annotate | diff | comparison | revisions
--- a/Documentation/source/Plugin_Documentation_Sets.PluginDocumentationSets.html	Wed Jan 06 14:31:57 2021 +0100
+++ b/Documentation/source/Plugin_Documentation_Sets.PluginDocumentationSets.html	Sat Apr 24 12:01:06 2021 +0200
@@ -18,102 +18,131 @@
 
 </style>
 </head>
-<body><a NAME="top" ID="top"></a>
+<body>
+<a NAME="top" ID="top"></a>
 <h1>Plugin_Documentation_Sets.PluginDocumentationSets</h1>
+
 <p>
 Module implementing the QtHelp documentation provider plug-in.
 </p>
 <h3>Global Attributes</h3>
+
 <table>
-<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>python2Compatible</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr>
+<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr>
 </table>
 <h3>Classes</h3>
+
 <table>
+
 <tr>
 <td><a href="#PluginDocumentationSets">PluginDocumentationSets</a></td>
 <td>Class implementing the QtHelp documentation provider plug-in.</td>
 </tr>
 </table>
 <h3>Functions</h3>
+
 <table>
+
 <tr>
 <td><a href="#helpFiles">helpFiles</a></td>
 <td>Module function to return the documentation sets provided by this plug-in.</td>
 </tr>
 </table>
-<hr /><hr />
+<hr />
+<hr />
 <a NAME="PluginDocumentationSets" ID="PluginDocumentationSets"></a>
 <h2>PluginDocumentationSets</h2>
+
 <p>
     Class implementing the QtHelp documentation provider plug-in.
 </p>
 <h3>Derived from</h3>
 QObject
 <h3>Class Attributes</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Class Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Methods</h3>
+
 <table>
+
 <tr>
 <td><a href="#PluginDocumentationSets.__init__">PluginDocumentationSets</a></td>
 <td>Constructor</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PluginDocumentationSets.activate">activate</a></td>
 <td>Public method to activate this plugin.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PluginDocumentationSets.deactivate">deactivate</a></td>
 <td>Public method to deactivate this plugin.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <a NAME="PluginDocumentationSets.__init__" ID="PluginDocumentationSets.__init__"></a>
 <h4>PluginDocumentationSets (Constructor)</h4>
 <b>PluginDocumentationSets</b>(<i>ui</i>)
+
 <p>
         Constructor
-</p><dl>
+</p>
+<dl>
+
 <dt><i>ui</i></dt>
 <dd>
 reference to the user interface object (UI.UserInterface)
 </dd>
-</dl><a NAME="PluginDocumentationSets.activate" ID="PluginDocumentationSets.activate"></a>
+</dl>
+<a NAME="PluginDocumentationSets.activate" ID="PluginDocumentationSets.activate"></a>
 <h4>PluginDocumentationSets.activate</h4>
 <b>activate</b>(<i></i>)
+
 <p>
         Public method to activate this plugin.
-</p><dl>
-<dt>Returns:</dt>
+</p>
+<dl>
+<dt>Return:</dt>
 <dd>
 tuple of None and activation status (boolean)
 </dd>
-</dl><a NAME="PluginDocumentationSets.deactivate" ID="PluginDocumentationSets.deactivate"></a>
+</dl>
+<a NAME="PluginDocumentationSets.deactivate" ID="PluginDocumentationSets.deactivate"></a>
 <h4>PluginDocumentationSets.deactivate</h4>
 <b>deactivate</b>(<i></i>)
+
 <p>
         Public method to deactivate this plugin.
 </p>
 <div align="right"><a href="#top">Up</a></div>
-<hr /><hr />
+<hr />
+<hr />
 <a NAME="helpFiles" ID="helpFiles"></a>
 <h2>helpFiles</h2>
 <b>helpFiles</b>(<i></i>)
+
 <p>
     Module function to return the documentation sets provided by this plug-in.
-</p><dl>
-<dt>Returns:</dt>
+</p>
+<dl>
+<dt>Return:</dt>
 <dd>
 dictionary with documentation set type as key and list of
         documentation files as values
 </dd>
-</dl><dl>
+</dl>
+<dl>
 <dt>Return Type:</dt>
 <dd>
 dict (key: str, value: list of str)
--- a/Documentation/source/index-Plugin_Documentation_Sets.html	Wed Jan 06 14:31:57 2021 +0100
+++ b/Documentation/source/index-Plugin_Documentation_Sets.html	Sat Apr 24 12:01:06 2021 +0200
@@ -20,6 +20,7 @@
 </head>
 <body>
 <h1>Plugin_Documentation_Sets</h1>
+
 <p>
 Package implementing the QtHelp documentation provider plug-in.
 </p>
@@ -27,6 +28,7 @@
 
 <h3>Modules</h3>
 <table>
+
 <tr>
 <td><a href="Plugin_Documentation_Sets.PluginDocumentationSets.html">PluginDocumentationSets</a></td>
 <td>Module implementing the QtHelp documentation provider plug-in.</td>
--- a/Documentation/source/index.html	Wed Jan 06 14:31:57 2021 +0100
+++ b/Documentation/source/index.html	Sat Apr 24 12:01:06 2021 +0200
@@ -24,6 +24,7 @@
 
 <h3>Packages</h3>
 <table>
+
 <tr>
 <td><a href="index-Plugin_Documentation_Sets.html">Plugin_Documentation_Sets</a></td>
 <td>Package implementing the QtHelp documentation provider plug-in.</td>
--- a/PluginDocumentationSets.py	Wed Jan 06 14:31:57 2021 +0100
+++ b/PluginDocumentationSets.py	Sat Apr 24 12:01:06 2021 +0200
@@ -17,7 +17,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.0.0"
+version = "2.0.1"
 className = "PluginDocumentationSets"
 packageName = "DocumentationSets"
 shortDescription = "Documentation sets in QtHelp format (*.qch)"
@@ -66,7 +66,7 @@
         
         @param ui reference to the user interface object (UI.UserInterface)
         """
-        super(PluginDocumentationSets, self).__init__(ui)
+        super().__init__(ui)
         self.__ui = ui
     
     def activate(self):

eric ide

mercurial