diff options
author | Guido van Rossum <guido@python.org> | 1992-01-01 19:35:13 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-01-01 19:35:13 (GMT) |
commit | bdfcfccbe591e15221f35add01132174c9b4e669 (patch) | |
tree | 7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Tools/scripts/suff.py | |
parent | 4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff) | |
download | cpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2 |
New == syntax
Diffstat (limited to 'Tools/scripts/suff.py')
-rwxr-xr-x | Tools/scripts/suff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/suff.py b/Tools/scripts/suff.py index 7fda113..a92557c 100755 --- a/Tools/scripts/suff.py +++ b/Tools/scripts/suff.py @@ -22,7 +22,7 @@ def main(): def getsuffix(file): suff = '' for i in range(len(file)): - if file[i] = '.': + if file[i] == '.': suff = file[i:] return suff |