From bfc972974ba24f2849c8ab6367cdd4f2e3cad225 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=89ric=20Araujo?= Date: Mon, 14 Nov 2011 18:18:15 +0100 Subject: [PATCH] Fix a few typos --- Doc/install/pysetup.rst | 2 +- Doc/whatsnew/3.3.rst | 2 +- Lib/packaging/run.py | 2 +- Lib/test/regrtest.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/install/pysetup.rst b/Doc/install/pysetup.rst index f6f1f837da32..d472c248e26c 100644 --- a/Doc/install/pysetup.rst +++ b/Doc/install/pysetup.rst @@ -149,7 +149,7 @@ Getting a list of all pysetup actions and global options:: list: List installed projects graph: Display a graph create: Create a project - generate-setup: Generate a backward-comptatible setup.py + generate-setup: Generate a backward-compatible setup.py To get more help on an action, use: diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 7f4517ff28fd..7e877fc3f955 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -596,7 +596,7 @@ Other issues paths. In previous versions, it did. See changeset for doc changes in various files. Contributed by Carl Meyer with editions by Éric Araujo. -.. Issue #10998: -Q command-line flags are related artifacts have been +.. Issue #10998: the -Q command-line flag and related artifacts have been removed. Code checking sys.flags.division_warning will need updating. Contributed by Éric Araujo. diff --git a/Lib/packaging/run.py b/Lib/packaging/run.py index 671a4bfb17b5..4756f7c14e31 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 9fe7bbabc7c1..03709c993fee 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]: -- 2.47.3