[Python-checkins] Fix typo in thread_nt.h code comment (GH-5211)
Mariatta
webhook-mailer at python.org
Wed Jan 17 18:21:04 EST 2018
https://github.com/python/cpython/commit/6027802ca7fae118bce6afead51d01a174600d40
commit: 6027802ca7fae118bce6afead51d01a174600d40
branch: master
author: hui shang <shangdahao at gmail.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2018-01-17T15:21:01-08:00
summary:
Fix typo in thread_nt.h code comment (GH-5211)
The comment for PyThread_allocate_lock says "It has too be implemented ...".
There was an extra "o" in ".. to be implemented.."
files:
M Python/thread_nt.h
diff --git a/Python/thread_nt.h b/Python/thread_nt.h
index 14213076bcb..61fa8619bc1 100644
--- a/Python/thread_nt.h
+++ b/Python/thread_nt.h
@@ -236,7 +236,7 @@ PyThread_exit_thread(void)
}
/*
- * Lock support. It has too be implemented as semaphores.
+ * Lock support. It has to be implemented as semaphores.
* I [Dag] tried to implement it with mutex but I could find a way to
* tell whether a thread already own the lock or not.
*/
More information about the Python-checkins
mailing list