mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Typo fixes
This commit is contained in:
parent
351e1a3e88
commit
7ce9b18460
3 changed files with 4 additions and 4 deletions
|
@ -266,7 +266,7 @@ always available.
|
|||
+------------------------------+------------------------------------------+
|
||||
| :const:`no_site` | -S |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`ingnore_environment` | -E |
|
||||
| :const:`ignore_environment` | -E |
|
||||
+------------------------------+------------------------------------------+
|
||||
| :const:`tabcheck` | -t or -tt |
|
||||
+------------------------------+------------------------------------------+
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue