summaryrefslogtreecommitdiffstats
path: root/Lib/uu.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2005-11-22 12:58:19 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2005-11-22 12:58:19 (GMT)
commit91043f32864b3d3cf5896811accb0dc70b44e531 (patch)
tree34bfb58d17fd153f5b28365ac391315769abfceb /Lib/uu.py
parent5898fa2dcd4cfae3429e8789ae067ffe1940a461 (diff)
downloadcpython-91043f32864b3d3cf5896811accb0dc70b44e531.zip
cpython-91043f32864b3d3cf5896811accb0dc70b44e531.tar.gz
cpython-91043f32864b3d3cf5896811accb0dc70b44e531.tar.bz2
Avoid using str as a variable name.
Diffstat (limited to 'Lib/uu.py')
-rwxr-xr-xLib/uu.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/uu.py b/Lib/uu.py
index d986b0d..b20aa9c 100755
--- a/Lib/uu.py
+++ b/Lib/uu.py
@@ -73,10 +73,10 @@ def encode(in_file, out_file, name=None, mode=None):
# 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')