diff --git a/patterns/creational/pool.py b/patterns/creational/pool.py index 0e2f1fec..a58ff8d8 100644 --- a/patterns/creational/pool.py +++ b/patterns/creational/pool.py @@ -15,7 +15,7 @@ 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 afterwards it is reused by the explicit call to sample_queue.get(). -Same thing happens with "sam", when the ObjectPool created insided the +Same thing happens with "sam", when the ObjectPool created inside the function is deleted (by the GC) and the object is returned. *Where is the pattern used practically?