Mercurial > cpython-lru_cache-weakref
view Demo/stdwin/TestTextEdit.py @ 4566:6403c94de50d legacy-trunk
Added safeguard against failure in __del__.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 27 Nov 1996 19:39:58 +0000 |
| parents | 5e65b10dd24d |
| children | 73758db2f464 |
line wrap: on
line source
#! /usr/local/bin/python # Test TextEdit widgets def main(): from TextEdit import TextEdit from WindowParent import WindowParent, MainLoop w = WindowParent().create('Test TextEdit', (0, 0)) t = TextEdit().create(w, (40, 4)) w.realize() MainLoop() main()
