Typo fixes

This commit is contained in:
Andrew M. Kuchling 2008-01-15 01:29:16 +00:00
parent 351e1a3e88
commit 7ce9b18460
3 changed files with 4 additions and 4 deletions

View file

@ -266,7 +266,7 @@ always available.
+------------------------------+------------------------------------------+ +------------------------------+------------------------------------------+
| :const:`no_site` | -S | | :const:`no_site` | -S |
+------------------------------+------------------------------------------+ +------------------------------+------------------------------------------+
| :const:`ingnore_environment` | -E | | :const:`ignore_environment` | -E |
+------------------------------+------------------------------------------+ +------------------------------+------------------------------------------+
| :const:`tabcheck` | -t or -tt | | :const:`tabcheck` | -t or -tt |
+------------------------------+------------------------------------------+ +------------------------------+------------------------------------------+

View file

@ -356,7 +356,7 @@ class SysModuleTest(unittest.TestCase):
self.failUnless(sys.flags) self.failUnless(sys.flags)
attrs = ("debug", "py3k_warning", "division_warning", "division_new", attrs = ("debug", "py3k_warning", "division_warning", "division_new",
"inspect", "interactive", "optimize", "dont_write_bytecode", "inspect", "interactive", "optimize", "dont_write_bytecode",
"no_site", "ingnore_environment", "tabcheck", "verbose", "no_site", "ignore_environment", "tabcheck", "verbose",
"unicode") "unicode")
for attr in attrs: for attr in attrs:
self.assert_(hasattr(sys.flags, attr), attr) self.assert_(hasattr(sys.flags, attr), attr)

View file

@ -1065,11 +1065,11 @@ static PyStructSequence_Field flags_fields[] = {
{"dont_write_bytecode", "-B"}, {"dont_write_bytecode", "-B"},
/* {"no_user_site", "-s"}, */ /* {"no_user_site", "-s"}, */
{"no_site", "-S"}, {"no_site", "-S"},
{"ingnore_environment", "-E"}, {"ignore_environment", "-E"},
{"tabcheck", "-t or -tt"}, {"tabcheck", "-t or -tt"},
{"verbose", "-v"}, {"verbose", "-v"},
#ifdef RISCOS #ifdef RISCOS
{"ricos_wimp", "???"}, {"riscos_wimp", "???"},
#endif #endif
/* {"unbuffered", "-u"}, */ /* {"unbuffered", "-u"}, */
{"unicode", "-U"}, {"unicode", "-U"},