File: __init__.py

package info (click to toggle)
scitools 0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,252 kB
  • ctags: 2,871
  • sloc: python: 28,744; sh: 112; makefile: 15
file content (10 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
"""
Trick to make a nickname for a module!
Can be used to make a nickname py4cs for scitools to keep
backward compatibility with the TCSE3 book.
"""

import sys
import scitools
nickname = 'stcopy'
sys.modules[nickname] = sys.modules['scitools']