summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-12-14 01:52:19 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-12-14 01:52:19 (GMT)
commitfc06999e0b7cd7460565f475e568a86915ec8672 (patch)
tree4081cf544d4b3fe53f7b3f97cfbef07378ad87ad /Modules
parent98620d87f2e011cbdea384c1822a3325b491d048 (diff)
downloadcpython-fc06999e0b7cd7460565f475e568a86915ec8672.zip
cpython-fc06999e0b7cd7460565f475e568a86915ec8672.tar.gz
cpython-fc06999e0b7cd7460565f475e568a86915ec8672.tar.bz2
#19970: Fix some comment typos.
Report and patch by Vajrasky Kok.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/faulthandler.c2
-rw-r--r--Modules/posixmodule.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
index c86a27f..680f630 100644
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -301,7 +301,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 f3234a4..f97d70b 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1742,7 +1742,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);
@@ -1838,7 +1838,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);