diff options
author | Guido van Rossum <guido@python.org> | 1997-01-03 22:42:08 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-01-03 22:42:08 (GMT) |
commit | 9d1a02ce335be34d31274797ce3d53012e28e22b (patch) | |
tree | e764f83b1dac01a52518e63466370cfe0678223c /Modules/stropmodule.c | |
parent | a2a8b27221744428da08e591f6e4c5540f9cd408 (diff) | |
download | cpython-9d1a02ce335be34d31274797ce3d53012e28e22b.zip cpython-9d1a02ce335be34d31274797ce3d53012e28e22b.tar.gz cpython-9d1a02ce335be34d31274797ce3d53012e28e22b.tar.bz2 |
Some small changes.
Raise ImportError instead of SystemExit when $DISPLAY is not set, so
regrtest.py will do the right thing.
Add a call to gl.clear() to clear the window before drawing in it.
Add some verbose prints for completeness.
Use gl.v2i() for the coordinates of one of the lines, for a little bit
of variety.
Reduce the time the window is displayed from 5 to 2 seconds.
Diffstat (limited to 'Modules/stropmodule.c')
0 files changed, 0 insertions, 0 deletions