summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:32:56 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:32:56 (GMT)
commit7c4a7e6f3cbd98ad547a3f1661582517612419e3 (patch)
tree401bde344fe15ab617c9be5c0e6fec7f4363d81f /Tools/scripts
parentbf8ab77f940013e42f7b9af5b4fd2100238f389b (diff)
downloadcpython-7c4a7e6f3cbd98ad547a3f1661582517612419e3.zip
cpython-7c4a7e6f3cbd98ad547a3f1661582517612419e3.tar.gz
cpython-7c4a7e6f3cbd98ad547a3f1661582517612419e3.tar.bz2
#18803: fix more typos. Patch by FĂ©vry Thibault.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/fixnotice.py2
-rwxr-xr-xTools/scripts/ifdef.py4
-rwxr-xr-xTools/scripts/pathfix.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/Tools/scripts/fixnotice.py b/Tools/scripts/fixnotice.py
index aac8697..ad967f9 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 46167ad..b1711ce 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 dd08e0a..13ca866 100755
--- a/Tools/scripts/pathfix.py
+++ b/Tools/scripts/pathfix.py
@@ -151,7 +151,7 @@ def fix(filename):
except os.error as msg:
err('%s: reset of timestamp failed (%r)\n' % (filename, msg))
return 1
- # Return succes
+ # Return success
return 0
def fixline(line):