diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-12-14 01:53:26 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-12-14 01:53:26 (GMT) |
commit | 3c2a178af2b4908fbf0a59582e52fe40798eb7ea (patch) | |
tree | 640717753279b86036a8a89112b36568bead4c5c | |
parent | b05d69808e79f95de85df8ea9683af2e97813655 (diff) | |
parent | fc06999e0b7cd7460565f475e568a86915ec8672 (diff) | |
download | cpython-3c2a178af2b4908fbf0a59582e52fe40798eb7ea.zip cpython-3c2a178af2b4908fbf0a59582e52fe40798eb7ea.tar.gz cpython-3c2a178af2b4908fbf0a59582e52fe40798eb7ea.tar.bz2 |
Merge: #19970: Fix some comment typos.
-rw-r--r-- | Lib/test/test_signal.py | 2 | ||||
-rw-r--r-- | Modules/faulthandler.c | 2 | ||||
-rw-r--r-- | 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 index 3530d8a..a6f2c64 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -873,7 +873,7 @@ class PendingSignalsTests(unittest.TestCase): # 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 index 27b1d54..fff960f 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -303,7 +303,7 @@ faulthandler_fatal_error(int signum) 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 index d0fbf5a..a64285e 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -1666,7 +1666,7 @@ win32_xstat_impl(const char *path, struct win32_stat *result, /* 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 @@ win32_xstat_impl_w(const wchar_t *path, struct win32_stat *result, /* 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); |