[pywin32-checkins] pywin32/Pythonwin/pywin/Demos dlgtest.py, 1.1, 1.2 objdoc.py, 1.2, 1.3
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-10-23 07:39:19
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv305/Pythonwin/pywin/Demos Modified Files: dlgtest.py objdoc.py Log Message: various improvements and modernizations from py3k branch. Index: dlgtest.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos/dlgtest.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dlgtest.py 1 Sep 1999 23:33:35 -0000 1.1 --- dlgtest.py 23 Oct 2008 07:39:11 -0000 1.2 *************** *** 82,86 **** # In this case, we are interested in BN_CLICKED messages. self.HookNotify(self.OnNotify, win32con.BN_CLICKED) - def OnNotify(self, std, extra): print "OnNotify", std, extra --- 82,85 ---- Index: objdoc.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos/objdoc.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** objdoc.py 1 Oct 2008 14:44:52 -0000 1.2 --- objdoc.py 23 Oct 2008 07:39:11 -0000 1.3 *************** *** 32,36 **** self.object = object def OnOpenDocument (self, name): ! raise Runtime("Should not be called if template strings set up correctly") return 0 --- 32,36 ---- self.object = object def OnOpenDocument (self, name): ! raise RuntimeError("Should not be called if template strings set up correctly") return 0 |