diff Lib/subprocess.py @ 51776:d06a3ebf306f

Merged revisions 69846 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........
author Mark Dickinson <dickinsm@gmail.com>
date Sat, 21 Feb 2009 20:59:32 +0000
parents 33d5d7daa8c7
children d77172eb6fe7
line wrap: on
line diff
--- a/Lib/subprocess.py	Sat Feb 21 05:41:15 2009 +0000
+++ b/Lib/subprocess.py	Sat Feb 21 20:59:32 2009 +0000
@@ -446,9 +446,9 @@
     To capture standard error in the result, use stderr=subprocess.STDOUT.
 
     >>> check_output(["/bin/sh", "-c",
-                      "ls -l non_existant_file ; exit 0"],
+                      "ls -l non_existent_file ; exit 0"],
                      stderr=subprocess.STDOUT)
-    'ls: non_existant_file: No such file or directory\n'
+    'ls: non_existent_file: No such file or directory\n'
     """
     if 'stdout' in kwargs:
         raise ValueError('stdout argument not allowed, it will be overridden.')
@@ -850,7 +850,7 @@
                     # cause random failures on win9x.  Specifically a
                     # dialog: "Your program accessed mem currently in
                     # use at xxx" and a hopeful warning about the
-                    # stability of your system.  Cost is Ctrl+C wont
+                    # stability of your system.  Cost is Ctrl+C won't
                     # kill children.
                     creationflags |= CREATE_NEW_CONSOLE