]> granicus.if.org Git - python/commitdiff
Fix typo in thread_nt.h code comment (GH-5211)
authorhui shang <shangdahao@gmail.com>
Wed, 17 Jan 2018 23:21:01 +0000 (07:21 +0800)
committerMariatta <Mariatta@users.noreply.github.com>
Wed, 17 Jan 2018 23:21:01 +0000 (15:21 -0800)
The comment for PyThread_allocate_lock says "It has too be implemented ...".
There was an extra "o" in ".. to be implemented.."

Python/thread_nt.h

index 14213076bcb920b2b7aba81e61b843391ec92d53..61fa8619bc1742f8562a55878a45443e971cf07b 100644 (file)
@@ -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.
  */