summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-11-14 17:18:15 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-11-14 17:18:15 (GMT)
commitbfc972974ba24f2849c8ab6367cdd4f2e3cad225 (patch)
treebe36ccd2a1ff1367b55aac5a94c3f3cbe1e821ca /Lib
parent84ed8f70756baf47a38cc5412ffa36146cdf0e2b (diff)
downloadcpython-bfc972974ba24f2849c8ab6367cdd4f2e3cad225.zip
cpython-bfc972974ba24f2849c8ab6367cdd4f2e3cad225.tar.gz
cpython-bfc972974ba24f2849c8ab6367cdd4f2e3cad225.tar.bz2
Fix a few typos
Diffstat (limited to 'Lib')
-rw-r--r--Lib/packaging/run.py2
-rwxr-xr-xLib/test/regrtest.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/packaging/run.py b/Lib/packaging/run.py
index 671a4bf..4756f7c 100644
--- a/Lib/packaging/run.py
+++ b/Lib/packaging/run.py
@@ -368,7 +368,7 @@ actions = [
('list', 'List installed projects', _list),
('graph', 'Display a graph', _graph),
('create', 'Create a project', _create),
- ('generate-setup', 'Generate a backward-comptatible setup.py', _generate),
+ ('generate-setup', 'Generate a backward-compatible setup.py', _generate),
]
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 9fe7bba..03709c9 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -1066,7 +1066,7 @@ class saved_test_environment:
keys = set(packaging.command._COMMANDS)
return id_, keys
def restore_packaging_command__COMMANDS(self, saved):
- # if command._COMMANDS was bound to another dict obhect, we can't
+ # if command._COMMANDS was bound to another dict object, we can't
# restore the previous object and contents, because the get_ method
# above does not return the dict object (to ignore changes in values)
for key in packaging.command._COMMANDS.keys() - saved[1]: