helping.py (pymol-open-source-2.2.0) | : | helping.py (pymol-open-source-2.3.0) | ||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
#G* Please see the accompanying LICENSE file for further information. | #G* Please see the accompanying LICENSE file for further information. | |||
#H* ------------------------------------------------------------------- | #H* ------------------------------------------------------------------- | |||
#I* Additional authors of this source file include: | #I* Additional authors of this source file include: | |||
#-* | #-* | |||
#-* | #-* | |||
#-* | #-* | |||
#Z* ------------------------------------------------------------------- | #Z* ------------------------------------------------------------------- | |||
from __future__ import print_function | from __future__ import print_function | |||
if __name__=='pymol.helping': | if True: | |||
cmd = __import__("sys").modules["pymol.cmd"] | cmd = __import__("sys").modules["pymol.cmd"] | |||
import pymol | import pymol | |||
from pymol import CmdException | from pymol import CmdException | |||
from .cmd import DEFAULT_ERROR, DEFAULT_SUCCESS, _raising, is_ok, is_error | from .cmd import DEFAULT_ERROR, DEFAULT_SUCCESS, _raising, is_ok, is_error | |||
def show_help(cmmd,_self=cmd): # INTERNAL | def show_help(cmmd,_self=cmd): # INTERNAL | |||
print("PyMOL>help %s" % cmmd) | print("PyMOL>help %s" % cmmd) | |||
help(cmmd) | help(cmmd) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |