graphics/LD_Objects.py
changeset 1736 7e61baa047f0
parent 1730 64d8f52bc8c8
child 1739 ec153828ded2
--- a/graphics/LD_Objects.py	Mon Aug 14 22:30:41 2017 +0300
+++ b/graphics/LD_Objects.py	Mon Aug 14 23:27:15 2017 +0300
@@ -32,11 +32,11 @@
 #                         Ladder Diagram PowerRail
 #-------------------------------------------------------------------------------
 
-"""
-Class that implements the graphic representation of a power rail
-"""
 
 class LD_PowerRail(Graphic_Element):
+    """
+    Class that implements the graphic representation of a power rail
+    """
 
     # Create a new power rail
     def __init__(self, parent, type, id=None, connectors=1):
@@ -343,11 +343,11 @@
 #                         Ladder Diagram Contact
 #-------------------------------------------------------------------------------
 
-"""
-Class that implements the graphic representation of a contact
-"""
 
 class LD_Contact(Graphic_Element, DebugDataConsumer):
+    """
+    Class that implements the graphic representation of a contact
+    """
 
     # Create a new contact
     def __init__(self, parent, type, name, id = None):
@@ -689,11 +689,11 @@
 #                         Ladder Diagram Coil
 #-------------------------------------------------------------------------------
 
-"""
-Class that implements the graphic representation of a coil
-"""
 
 class LD_Coil(Graphic_Element):
+    """
+    Class that implements the graphic representation of a coil
+    """
 
     # Create a new coil
     def __init__(self, parent, type, name, id = None):