mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +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:`no_site` | -S |
|
||||||
+------------------------------+------------------------------------------+
|
+------------------------------+------------------------------------------+
|
||||||
| :const:`ingnore_environment` | -E |
|
| :const:`ignore_environment` | -E |
|
||||||
+------------------------------+------------------------------------------+
|
+------------------------------+------------------------------------------+
|
||||||
| :const:`tabcheck` | -t or -tt |
|
| :const:`tabcheck` | -t or -tt |
|
||||||
+------------------------------+------------------------------------------+
|
+------------------------------+------------------------------------------+
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue