Skip to content

Commit 0f66251

Browse files
authored
Update README.md
1 parent a5018f4 commit 0f66251

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,9 @@ In the [`queue`](https://docs.python.org/3/library/queue.html) module, there are
118118
- `LifoQueue`,
119119
- `PriorityQueue`
120120

121-
Note these queue collections are thread-safe, although it isn't explicitly clear from their type name, making it **dangerously confusing** for people mistaking the same property to apply to e.g. [`deque`](https://docs.python.org/3/library/collections.html#collections.deque), which is absolutely **not** thread-safe.
122-
123-
Additionally, there are [other queues classes in the `multiprocessing` module](https://docs.python.org/3/library/multiprocessing.html#pipes-and-queues), which makes it even more confusing due to the redundancy with the above queue classes.
121+
:warning: Note these queue collections are thread-safe, although _it isn't explicitly clear from their type name_, making it **dangerously confusing** for people mistakenly thinking that thread-safety applies also to e.g. the [`deque`](https://docs.python.org/3/library/collections.html#collections.deque), which is absolutely **not** thread-safe.
124122

123+
Additionally, there are [other queue classes in the `multiprocessing` module](https://docs.python.org/3/library/multiprocessing.html#pipes-and-queues), which makes it even more confusing due to the redundancy with the above queue classes.
125124

126125

127126
## License

0 commit comments

Comments
 (0)