diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-01-18 00:40:33 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2018-01-18 00:40:33 (GMT) |
commit | f31c70b0d65510d6d3235816eb95ef43ba6764bf (patch) | |
tree | 0a0229dfb73a2a77ff1ad2da83e538b1e94e36a0 | |
parent | 8d1e41d4148a69b0709fc7fb6bb733451ae1b28d (diff) | |
download | cpython-f31c70b0d65510d6d3235816eb95ef43ba6764bf.zip cpython-f31c70b0d65510d6d3235816eb95ef43ba6764bf.tar.gz cpython-f31c70b0d65510d6d3235816eb95ef43ba6764bf.tar.bz2 |
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)
-rw-r--r-- | Python/thread_nt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h index 74a6ee8..d87f961 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. */ |