[pywin32-checkins] pywin32/com/win32com/demos connect.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-11-26 02:16:58
|
Update of /cvsroot/pywin32/pywin32/com/win32com/demos In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16313/com/win32com/demos Modified Files: connect.py Log Message: modernize syntax for py3k Index: connect.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/demos/connect.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** connect.py 9 Nov 2003 11:01:18 -0000 1.2 --- connect.py 26 Nov 2008 01:47:26 -0000 1.3 *************** *** 73,77 **** CheckEvent(server, client, "Here is a null>"+chr(0)+"<", verbose) CheckEvent(server, client, u"Here is a null>"+unichr(0)+"<", verbose) ! val = unicode("test-\xe0\xf2", "latin-1") # 2 latin characters. CheckEvent(server, client, val, verbose) if verbose: --- 73,77 ---- CheckEvent(server, client, "Here is a null>"+chr(0)+"<", verbose) CheckEvent(server, client, u"Here is a null>"+unichr(0)+"<", verbose) ! val = u"test-\xe0\xf2" # 2 extended characters. CheckEvent(server, client, val, verbose) if verbose: |