[Python-checkins] Fix typo in thread_nt.h code comment (GH-5211) (GH-5226)

Mariatta webhook-mailer at python.org
Wed Jan 17 19:40:41 EST 2018


https://github.com/python/cpython/commit/f31c70b0d65510d6d3235816eb95ef43ba6764bf
commit: f31c70b0d65510d6d3235816eb95ef43ba6764bf
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2018-01-17T16:40:33-08:00
summary:

Fix typo in thread_nt.h code comment (GH-5211) (GH-5226)

The comment for PyThread_allocate_lock says "It has too be implemented ...".
There was an extra "o" in ".. to be implemented.."
(cherry picked from commit 6027802ca7fae118bce6afead51d01a174600d40)

files:
M Python/thread_nt.h

diff --git a/Python/thread_nt.h b/Python/thread_nt.h
index 74a6ee80298..d87f9614498 100644
--- a/Python/thread_nt.h
+++ b/Python/thread_nt.h
@@ -235,7 +235,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