[Python-checkins] cpython (merge 3.3 -> default): Merge: #19970: Fix some comment typos.

r.david.murray python-checkins at python.org
Sat Dec 14 02:54:16 CET 2013


http://hg.python.org/cpython/rev/358a35471f9f
changeset:   87945:358a35471f9f
parent:      87943:f2c6b0485ce6
parent:      87944:8e18a3b54bbe
user:        R David Murray <rdmurray at bitdance.com>
date:        Fri Dec 13 20:53:26 2013 -0500
summary:
  Merge: #19970: Fix some comment typos.

files:
  Lib/test/test_signal.py |  2 +-
  Modules/faulthandler.c  |  2 +-
  Modules/posixmodule.c   |  4 ++--
  3 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -873,7 +873,7 @@
 
         # Unblock SIGUSR1
         try:
-            # unblock the pending signal calls immediatly the signal handler
+            # unblock the pending signal calls immediately the signal handler
             signal.pthread_sigmask(signal.SIG_UNBLOCK, [signum])
         except ZeroDivisionError:
             pass
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -303,7 +303,7 @@
         return;
     }
 #endif
-    /* call the previous signal handler: it is called immediatly if we use
+    /* call the previous signal handler: it is called immediately if we use
        sigaction() thanks to SA_NODEFER flag, otherwise it is deferred */
     raise(signum);
 }
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1666,7 +1666,7 @@
         /* FILE_FLAG_BACKUP_SEMANTICS is required to open a directory */
         /* FILE_FLAG_OPEN_REPARSE_POINT does not follow the symlink.
            Because of this, calls like GetFinalPathNameByHandle will return
-           the symlink path agin and not the actual final path. */
+           the symlink path again and not the actual final path. */
         FILE_ATTRIBUTE_NORMAL|FILE_FLAG_BACKUP_SEMANTICS|
             FILE_FLAG_OPEN_REPARSE_POINT,
         NULL);
@@ -1762,7 +1762,7 @@
         /* FILE_FLAG_BACKUP_SEMANTICS is required to open a directory */
         /* FILE_FLAG_OPEN_REPARSE_POINT does not follow the symlink.
            Because of this, calls like GetFinalPathNameByHandle will return
-           the symlink path agin and not the actual final path. */
+           the symlink path again and not the actual final path. */
         FILE_ATTRIBUTE_NORMAL|FILE_FLAG_BACKUP_SEMANTICS|
             FILE_FLAG_OPEN_REPARSE_POINT,
         NULL);

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list