File: __init__.py

package info (click to toggle)
pygame 1.9.6%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,060 kB
  • sloc: ansic: 59,765; python: 31,220; objc: 334; makefile: 57; cpp: 25
file content (12 lines) | stat: -rw-r--r-- 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# Make docs a package that brings up the main page in a web brower when
# executed.
#
# python -m pygame.docs

if __name__ == '__main__':
    import os
    pkg_dir = os.path.dirname(os.path.abspath(__file__))
    main = os.path.join(pkg_dir, '__main__.py')
    exec(open(main).read())