Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion creational/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
populated with strings.
As we can see, the first string object put in "yam" is USED by the
with statement. But because it is released back into the pool
aftwerwards it is reused by the explicit call to sample_queue.get().
afterwards it is reused by the explicit call to sample_queue.get().
Same thing happens with "sam", when the ObjectPool created insided the
function is deleted (by the GC) and the object is returned.

Expand Down