diff --git a/README.md b/README.md index 78fb8a21..106ad318 100644 --- a/README.md +++ b/README.md @@ -299,6 +299,8 @@ Catalog.object_a.in_scope() object_a5 = Catalog.object_a() object_a6 = Catalog.object_a() +Catalog.object_a.out_of_scope() + assert object_a5 is object_a6 assert object_a5.db is object_a6.db diff --git a/VERSION b/VERSION index 0d91a54c..9e11b32f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.0 +0.3.1 diff --git a/examples/scoped_provider.py b/examples/scoped_provider.py index 45dd602c..f5759281 100644 --- a/examples/scoped_provider.py +++ b/examples/scoped_provider.py @@ -58,6 +58,8 @@ Catalog.object_a.in_scope() object_a5 = Catalog.object_a() object_a6 = Catalog.object_a() +Catalog.object_a.out_of_scope() + assert object_a5 is object_a6 assert object_a5.db is object_a6.db