[Python-checkins] r59961 - in python/trunk: Doc/library/sys.rst Lib/test/test_sys.py Python/sysmodule.c
Christian Heimes
lists at cheimes.de
Tue Jan 15 02:37:12 CET 2008
andrew.kuchling wrote:
> Author: andrew.kuchling
> Date: Tue Jan 15 02:29:16 2008
> New Revision: 59961
>
> Modified:
> python/trunk/Doc/library/sys.rst
> python/trunk/Lib/test/test_sys.py
> python/trunk/Python/sysmodule.c
> Log:
> Typo fixes
>
> Modified: python/trunk/Doc/library/sys.rst
> ==============================================================================
> --- python/trunk/Doc/library/sys.rst (original)
> +++ python/trunk/Doc/library/sys.rst Tue Jan 15 02:29:16 2008
> @@ -266,7 +266,7 @@
> +------------------------------+------------------------------------------+
> | :const:`no_site` | -S |
> +------------------------------+------------------------------------------+
> - | :const:`ingnore_environment` | -E |
> + | :const:`ignore_environment` | -E |
> +------------------------------+------------------------------------------+
> | :const:`tabcheck` | -t or -tt |
> +------------------------------+------------------------------------------+
>
> Modified: python/trunk/Lib/test/test_sys.py
> ==============================================================================
> --- python/trunk/Lib/test/test_sys.py (original)
> +++ python/trunk/Lib/test/test_sys.py Tue Jan 15 02:29:16 2008
> @@ -356,7 +356,7 @@
> 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)
>
> Modified: python/trunk/Python/sysmodule.c
> ==============================================================================
> --- python/trunk/Python/sysmodule.c (original)
> +++ python/trunk/Python/sysmodule.c Tue Jan 15 02:29:16 2008
> @@ -1065,11 +1065,11 @@
> {"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"},
Wow, it's fascinating how far a bug can travel with copy 'n paste
programming. O:-)
Christian
More information about the Python-checkins
mailing list