summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorhui shang <shangdahao@gmail.com>2018-01-17 23:21:01 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2018-01-17 23:21:01 (GMT)
commit6027802ca7fae118bce6afead51d01a174600d40 (patch)
tree5161fdc167feff7f6e898753efec317256cea14c /Python
parent3941499d6c2a4d09f2ea476f84b9c4ddc4bdefa0 (diff)
downloadcpython-6027802ca7fae118bce6afead51d01a174600d40.zip
cpython-6027802ca7fae118bce6afead51d01a174600d40.tar.gz
cpython-6027802ca7fae118bce6afead51d01a174600d40.tar.bz2
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.."
Diffstat (limited to 'Python')
-rw-r--r--Python/thread_nt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h
index 1421307..61fa861 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.
*/