diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-25 22:31:30 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-25 22:31:30 (GMT) |
commit | 6d0f0f299b014e79f6079901b560e938e0c5d8df (patch) | |
tree | e2f81371eca1a0d0782bb76dcbd5b883edc6b898 /Tools/scripts | |
parent | 290c6b3446f5a1ecd76e0213e4db388a37ee9e55 (diff) | |
download | cpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.zip cpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.tar.gz cpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.tar.bz2 |
#18803: fix more typos. Patch by Févry Thibault.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/fixnotice.py | 2 | ||||
-rwxr-xr-x | Tools/scripts/ifdef.py | 4 | ||||
-rwxr-xr-x | Tools/scripts/pathfix.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Tools/scripts/fixnotice.py b/Tools/scripts/fixnotice.py index 0ae4872..e613b65 100755 --- a/Tools/scripts/fixnotice.py +++ b/Tools/scripts/fixnotice.py @@ -2,7 +2,7 @@ """(Ostensibly) fix copyright notices in files. -Actually, this sript will simply replace a block of text in a file from one +Actually, this script will simply replace a block of text in a file from one string to another. It will only do this once though, i.e. not globally throughout the file. It writes a backup file and then does an os.rename() dance for atomicity. diff --git a/Tools/scripts/ifdef.py b/Tools/scripts/ifdef.py index 2ed7a66..5487f1a 100755 --- a/Tools/scripts/ifdef.py +++ b/Tools/scripts/ifdef.py @@ -9,11 +9,11 @@ # options. On standard output it writes a copy of the input file(s) # minus those code sections that are suppressed by the selected # combination of defined/undefined symbols. The #if(n)def/#else/#else -# lines themselfs (if the #if(n)def tests for one of the mentioned +# lines themselves (if the #if(n)def tests for one of the mentioned # names) are removed as well. # Features: Arbitrary nesting of recognized and unrecognized -# preprocesor statements works correctly. Unrecognized #if* commands +# preprocessor statements works correctly. Unrecognized #if* commands # are left in place, so it will never remove too much, only too # little. It does accept whitespace around the '#' character. diff --git a/Tools/scripts/pathfix.py b/Tools/scripts/pathfix.py index 7f6f191..850903a 100755 --- a/Tools/scripts/pathfix.py +++ b/Tools/scripts/pathfix.py @@ -135,7 +135,7 @@ def fix(filename): except os.error, msg: err('%s: rename failed (%r)\n' % (filename, msg)) return 1 - # Return succes + # Return success return 0 def fixline(line): |