X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FKERNEL_PY%2FHelp.py;h=23ee4083fc7304b4bb923766cb3d566242fcedf4;hb=4b14a3f48efda72f90b88c78c6ae02153631dfd6;hp=943e1ddc858419e2b89e7d0ee2616fb6f1f9cb7c;hpb=189dca4ea742b8dbcb425f3d6e5e886c16378aaa;p=modules%2Fkernel.git diff --git a/src/KERNEL_PY/Help.py b/src/KERNEL_PY/Help.py index 943e1ddc8..23ee4083f 100755 --- a/src/KERNEL_PY/Help.py +++ b/src/KERNEL_PY/Help.py @@ -30,7 +30,7 @@ class SalomeDoc: def __init__(self, aDoc): self.doc = aDoc def __repr__(self): - print self.doc + print(self.doc) return "---" def salome(self): doc_salome = ''' @@ -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,7 +126,7 @@ A new python example avoids references to LifeCycleCORBA and GraphExample.xml --- ''' - print doc_supervision + print(doc_supervision)