File: C0201extend.log

package info (click to toggle)
pymol 1.7.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 42,668 kB
  • ctags: 25,775
  • sloc: ansic: 494,779; python: 75,446; cpp: 20,088; makefile: 351; sh: 172; csh: 21
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