]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAPI/model/partset/part.py
Salome HOME
Improve PythonAPI documentstion.
[modules/shaper.git] / src / PythonAPI / model / partset / part.py
index e916975ff765f0dd73608ffd9ae836a594736fe5..a9bce9b3bafe9fe7e188c03639805623e5022a6c 100644 (file)
@@ -29,9 +29,13 @@ def removePart(part):
 
 
 class Part(Interface):
+    """Interface class for Part feature.
+
+    Part(feature) -> feature interface without initialization
+    """
 
     def __init__(self, feature):
-        """Adds a new Part to the given Partset and activates the Part."""
+        """x.__init__(...) initializes x; see x.__class__.__doc__ for signature"""
         Interface.__init__(self, feature)
         assert(self._feature.getKind() == "Part")