Skip to content

Commit 1518767

Browse files
authored
Merge pull request #691 from davidhewitt/patch-1
Fix documentation typo
2 parents 4aa2ff5 + 0b45135 commit 1518767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub use gil::prepare_freethreaded_python;
4242
/// * Thread 1 locks a mutex
4343
/// * Thread 1 makes a call into the python interpreter, which releases the GIL
4444
/// * Thread 2 acquires the GIL
45-
/// * Thraed 2 tries to locks the mutex, blocks
45+
/// * Thread 2 tries to locks the mutex, blocks
4646
/// * Thread 1's python interpreter call blocks trying to reacquire the GIL held by thread 2
4747
///
4848
/// To avoid deadlocking, you should release the GIL before trying to lock a mutex, e.g. with

0 commit comments

Comments
 (0)