From 8932db3928a5c1c8297a919ba119c18ff92ca7e2 Mon Sep 17 00:00:00 2001 From: okot daniel Date: Tue, 12 Aug 2025 21:49:53 +0300 Subject: [PATCH] docs(singleton.rst): fix grammar and added more clarity in singleton documentation (#917) --- docs/providers/singleton.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/providers/singleton.rst b/docs/providers/singleton.rst index 5c2d517f..9a6c27b8 100644 --- a/docs/providers/singleton.rst +++ b/docs/providers/singleton.rst @@ -33,8 +33,8 @@ factories: - :ref:`factory-specialize-provided-type` - :ref:`abstract-factory` -``Singleton`` provider scope is tied to the container. Two different containers will provider -two different singleton objects: +Since ``Singleton`` scope is container-specific, each container will create and manage its own ``Singleton`` instance. +Therefore, two containers will provide two distinct ``Singleton`` objects. .. literalinclude:: ../../examples/providers/singleton_multiple_containers.py :language: python