Salome HOME
Merge changes from 'master' branch.
[modules/kernel.git] / src / KERNEL_PY / Help.py
index 2c18bc18ac097c62b51f019ddcb8e7a4907ed252..23ee4083fc7304b4bb923766cb3d566242fcedf4 100755 (executable)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -30,13 +30,13 @@ class SalomeDoc:
     def __init__(self, aDoc):
         self.doc = aDoc
     def __repr__(self):
-        print self.doc
+        print(self.doc)
         return "---"
     def salome(self):
         doc_salome = '''
 MODULE : salome
 ---------------
-module salome gives access to Salome ressources:
+module salome gives access to Salome resources:
 variables:
 
   salome.orb             : CORBA
@@ -52,9 +52,8 @@ variables:
                            with a Server name and an Engine name
   salome.sg
       methods:
-         updateObjBrowser(bool):
-         getActiveStudyId():
-         getActiveStudyName():
+         updateObjBrowser():
+         getStudyName():
          
          SelectedCount():      returns number of selected objects
          getSelected(i):       returns entry of selected object number i
@@ -71,16 +70,15 @@ variables:
 
          IDToObject(Entry):    returns CORBA reference from entry
 
-  salome.myStudyName     : active Study Name
-  salome.myStudyId       : active Study Id
+  salome.myStudyName     : the Study Name
   salome.myStudy         : the active Study itself (CORBA ior)
                            methods : defined in SALOMEDS.idl
                                                          
 methods:
-  salome.DumpStudy(study) : Dump a study, given the ior
+  salome.DumpStudy() : Dump a study, given the ior
 ---
 '''
-        print doc_salome
+        print(doc_salome)
         
     def geompy(self):
         doc_geompy = '''
@@ -99,7 +97,7 @@ methods:
   --- all methods of GEOM_Gen.idl that returns a shape are encapsulated,
       with the same interface : shapes are named with their ior
 '''
-        print doc_geompy
+        print(doc_geompy)
         
     def supervision(self):
         doc_supervision = '''
@@ -128,13 +126,13 @@ A new python example avoids references to LifeCycleCORBA
                                    and GraphExample.xml
 ---
 '''
-        print doc_supervision
+        print(doc_supervision)
         
     
 
 Help = SalomeDoc('''
 Availables modules:
-  salome      : gives access to Salome ressources
+  salome      : gives access to Salome resources
   geompy      : encapsulation of GEOM Engine methods
   supervision : gives access to SuperVision Engine
 To obtain specific help on a module "truc", type: Help.truc()