[Python-checkins] commit of r41498 - python/trunk/Lib

walter.doerwald@python.org walter.doerwald at python.org
Tue Nov 22 13:58:25 CET 2005


Author: walter.doerwald
Date: Tue Nov 22 13:58:19 2005
New Revision: 41498
Modified:
 python/trunk/Lib/uu.py
Log:
Avoid using str as a variable name.
Modified: python/trunk/Lib/uu.py
==============================================================================
--- python/trunk/Lib/uu.py	(original)
+++ python/trunk/Lib/uu.py	Tue Nov 22 13:58:19 2005
@@ -73,10 +73,10 @@
 # Write the data
 #
 out_file.write('begin %o %s\n' % ((mode&0777),name))
- str = in_file.read(45)
- while len(str) > 0:
- out_file.write(binascii.b2a_uu(str))
- str = in_file.read(45)
+ data = in_file.read(45)
+ while len(data) > 0:
+ out_file.write(binascii.b2a_uu(data))
+ data = in_file.read(45)
 out_file.write(' \nend\n')
 
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /