]> granicus.if.org Git - python/commitdiff
Fix typo in thread_nt.h code comment (GH-5211) (GH-5226)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 18 Jan 2018 00:40:33 +0000 (16:40 -0800)
committerMariatta <Mariatta@users.noreply.github.com>
Thu, 18 Jan 2018 00:40:33 +0000 (16:40 -0800)
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)

Python/thread_nt.h

index 74a6ee802980e4d583689c14194ae1343960b2b6..d87f9614498edaaaf92ed0460d2bf51cdcfb5185 100644 (file)
@@ -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.
  */