File: mypydoc.py

package info (click to toggle)
solfege 3.16.4-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 34,472 kB
  • ctags: 5,287
  • sloc: python: 22,642; xml: 14,196; ansic: 4,682; makefile: 621; sh: 287
file content (15 lines) | stat: -rwxr-xr-x 270 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python

"""
This is a wrapper around the pydoc script. It is necessary to use this on
most of the files in solfege because they require i18n setup.
"""

import sys
import pydoc
sys.path.insert(0, ".")
import solfege.i18n
solfege.i18n.setup(".")

pydoc.cli()