File: C0201extend.log

package info (click to toggle)
pymol 2.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 43,312 kB
  • sloc: cpp: 480,106; python: 79,860; ansic: 28,343; javascript: 6,792; sh: 47; makefile: 30; csh: 8
file content (22 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PyMOL>def foo(moo=2): print moo
PyMOL>cmd.extend('foo',foo)
PyMOL>foo
2
PyMOL>foo 3
3
PyMOL>foo moo=5
5
PyMOL>foo ?
Usage: foo [ moo ]
PyMOL>def fie(moo=3):\
PyMOL>"help for fie" \
PyMOL>print moo
PyMOL>print fie.__doc__
help for fie
PyMOL>help fie
Error: unknown topic: 'fie'.
PyMOL>cmd.extend('fie',fie)
PyMOL>help fie

help for fie