Skip to content

Commit 4445881

Browse files
authored
Update unicode strings in comments (#2111)
1 parent ea314af commit 4445881

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

com/win32com/test/testStorage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def testit(self):
1414
pss = pythoncom.StgOpenStorageEx(
1515
fname, m, storagecon.STGFMT_FILE, 0, pythoncom.IID_IPropertySetStorage
1616
)
17-
### {"Version":2,"reserved":0,"SectorSize":512,"TemplateFile":u'somefilename'})
17+
### {"Version":2,"reserved":0,"SectorSize":512,"TemplateFile":'somefilename'})
1818

1919
## FMTID_SummaryInformation FMTID_DocSummaryInformation FMTID_UserDefinedProperties
2020
psuser = pss.Create(

win32/Demos/security/sspi/simple_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def lookup_ret_code(err):
1818
pkg_name='Kerberos'
1919
sspiclient=SSPIClient(pkg_name, win32api.GetUserName(), ## target spn is ourself
2020
None, None, ## use none for client name and authentication information for current context
21-
## u'username', (u'username',u'domain.com',u'passwd'),
21+
## 'username', ('username','domain.com','passwd'),
2222
sspicon.ISC_REQ_INTEGRITY|sspicon.ISC_REQ_SEQUENCE_DETECT|sspicon.ISC_REQ_REPLAY_DETECT| \
2323
sspicon.ISC_REQ_DELEGATE|sspicon.ISC_REQ_CONFIDENTIALITY|sspicon.ISC_REQ_USE_SESSION_KEY)
2424
sspiserver=SSPIServer(pkg_name, None,

win32/Lib/win32timezone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
True
145145
146146
This test helps ensure language support for unicode characters
147-
>>> x = TIME_ZONE_INFORMATION(0, u'français')
147+
>>> x = TIME_ZONE_INFORMATION(0, 'français')
148148
149149
150150
Test conversion from one time zone to another at a DST boundary

0 commit comments

Comments
 (0)