Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6027802

Browse files
shangdahaoMariatta
authored andcommitted
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.."
1 parent 3941499 commit 6027802

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/thread_nt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ PyThread_exit_thread(void)
236236
}
237237

238238
/*
239-
* Lock support. It has too be implemented as semaphores.
239+
* Lock support. It has to be implemented as semaphores.
240240
* I [Dag] tried to implement it with mutex but I could find a way to
241241
* tell whether a thread already own the lock or not.
242242
*/

0 commit comments

Comments
 (0)