Corrected some code style issues.

Wed, 30 Aug 2017 10:55:00 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 30 Aug 2017 10:55:00 +0200
changeset 5859
28282fa0df7b
parent 5858
7afdb26fcabc
child 5860
f92ee2a5320d

Corrected some code style issues.

Debugger/DebugServer.py file | annotate | diff | comparison | revisions
Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Source/eric6.E5Gui.E5ErrorMessageFilterDialog.html file | annotate | diff | comparison | revisions
Documentation/Source/eric6.Globals.__init__.html file | annotate | diff | comparison | revisions
E5Gui/E5ErrorMessageFilterDialog.py file | annotate | diff | comparison | revisions
Globals/__init__.py file | annotate | diff | comparison | revisions
--- a/Debugger/DebugServer.py	Tue Aug 29 17:18:18 2017 +0200
+++ b/Debugger/DebugServer.py	Wed Aug 30 10:55:00 2017 +0200
@@ -329,10 +329,10 @@
         if registryDataList:
             self.__debuggerInterfaces[interfaceName] = getRegistryData
             for clientLanguage, clientCapabilities, clientExtensions, \
-                interfaceCreator in registryDataList:
-                    self.__debuggerInterfaceRegistry[clientLanguage] = [
-                        clientCapabilities, clientExtensions, interfaceCreator,
-                        interfaceName]
+                    interfaceCreator in registryDataList:
+                self.__debuggerInterfaceRegistry[clientLanguage] = [
+                    clientCapabilities, clientExtensions, interfaceCreator,
+                    interfaceName]
         
     def unregisterDebuggerInterface(self, interfaceName):
         """
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Source/eric6.E5Gui.E5ErrorMessageFilterDialog.html	Tue Aug 29 17:18:18 2017 +0200
+++ b/Documentation/Source/eric6.E5Gui.E5ErrorMessageFilterDialog.html	Wed Aug 30 10:55:00 2017 +0200
@@ -77,13 +77,15 @@
 <p>
         Constructor
 </p><dl>
-<dt><i>messageFilters</i></dt>
+<dt><i>messageFilters</i> (list of str)</dt>
 <dd>
 list of message filters to be edited
-            (list of strings)
-</dd><dt><i>parent</i></dt>
+</dd><dt><i>defaultFilters</i> (list of str)</dt>
 <dd>
-reference to the parent widget (QWidget)
+list of default message filters
+</dd><dt><i>parent</i> (QWidget)</dt>
+<dd>
+reference to the parent widget
 </dd>
 </dl><a NAME="E5ErrorMessageFilterDialog.__setToDefault" ID="E5ErrorMessageFilterDialog.__setToDefault"></a>
 <h4>E5ErrorMessageFilterDialog.__setToDefault</h4>
--- a/Documentation/Source/eric6.Globals.__init__.html	Tue Aug 29 17:18:18 2017 +0200
+++ b/Documentation/Source/eric6.Globals.__init__.html	Wed Aug 30 10:55:00 2017 +0200
@@ -312,6 +312,16 @@
 <dd>
 Python string to be converted
 </dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+converted QByteArray
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+QByteArray
+</dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
--- a/E5Gui/E5ErrorMessageFilterDialog.py	Tue Aug 29 17:18:18 2017 +0200
+++ b/E5Gui/E5ErrorMessageFilterDialog.py	Wed Aug 30 10:55:00 2017 +0200
@@ -24,8 +24,11 @@
         Constructor
         
         @param messageFilters list of message filters to be edited
-            (list of strings)
-        @param parent reference to the parent widget (QWidget)
+        @type list of str
+        @param defaultFilters list of default message filters
+        @type list of str
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super(E5ErrorMessageFilterDialog, self).__init__(parent)
         self.setupUi(self)
--- a/Globals/__init__.py	Tue Aug 29 17:18:18 2017 +0200
+++ b/Globals/__init__.py	Wed Aug 30 10:55:00 2017 +0200
@@ -390,6 +390,8 @@
     
     @param txt Python string to be converted
     @type str, bytes, bytearray, unicode
+    @return converted QByteArray
+    @rtype QByteArray
     """
     if sys.version_info[0] == 2:
         if isinstance(txt, unicode):    # __IGNORE_WARNING__

eric ide

mercurial