commit | 9d1a02ce335be34d31274797ce3d53012e28e22b | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jan 03 22:42:08 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jan 03 22:42:08 1997 +0000 |
tree | e764f83b1dac01a52518e63466370cfe0678223c | |
parent | a2a8b27221744428da08e591f6e4c5540f9cd408 [diff] |
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.