summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-15 01:29:16 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-15 01:29:16 (GMT)
commit7ce9b184603330386bf29ba21b56cf846616c217 (patch)
tree88ce75609b271ab2fcd5b9d751fbc15eea7b5898
parent351e1a3e8805bca158d1f116a637e787e2b70f18 (diff)
downloadcpython-7ce9b184603330386bf29ba21b56cf846616c217.zip
cpython-7ce9b184603330386bf29ba21b56cf846616c217.tar.gz
cpython-7ce9b184603330386bf29ba21b56cf846616c217.tar.bz2
Typo fixes
-rw-r--r--Doc/library/sys.rst2
-rw-r--r--Lib/test/test_sys.py2
-rw-r--r--Python/sysmodule.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 7dbf41e..6b88d61 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -266,7 +266,7 @@ always available.
+------------------------------+------------------------------------------+
| :const:`no_site` | -S |
+------------------------------+------------------------------------------+
- | :const:`ingnore_environment` | -E |
+ | :const:`ignore_environment` | -E |
+------------------------------+------------------------------------------+
| :const:`tabcheck` | -t or -tt |
+------------------------------+------------------------------------------+
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 1b9b9d0..aafbfa3 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -356,7 +356,7 @@ class SysModuleTest(unittest.TestCase):
self.failUnless(sys.flags)
attrs = ("debug", "py3k_warning", "division_warning", "division_new",
"inspect", "interactive", "optimize", "dont_write_bytecode",
- "no_site", "ingnore_environment", "tabcheck", "verbose",
+ "no_site", "ignore_environment", "tabcheck", "verbose",
"unicode")
for attr in attrs:
self.assert_(hasattr(sys.flags, attr), attr)
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index cbdda18..bbcd957 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1065,11 +1065,11 @@ static PyStructSequence_Field flags_fields[] = {
{"dont_write_bytecode", "-B"},
/* {"no_user_site", "-s"}, */
{"no_site", "-S"},
- {"ingnore_environment", "-E"},
+ {"ignore_environment", "-E"},
{"tabcheck", "-t or -tt"},
{"verbose", "-v"},
#ifdef RISCOS
- {"ricos_wimp", "???"},
+ {"riscos_wimp", "???"},
#endif
/* {"unbuffered", "-u"}, */
{"unicode", "-U"},