diff --git a/docs/providers/singleton.rst b/docs/providers/singleton.rst index 4c26b09b..1865cbb9 100644 --- a/docs/providers/singleton.rst +++ b/docs/providers/singleton.rst @@ -73,8 +73,7 @@ lifecycle of memorized instance is out of ``Singleton`` provider's control. """Example class UserService.""" - # Singleton provider creates new instance of specified class on first call and - # returns same instance on every next call. + # Users service singleton provider: users_service_provider = Singleton(UserService) # Retrieving several UserService objects: diff --git a/examples/providers/singleton_reseting.py b/examples/providers/singleton_reseting.py index efe2bd88..a35fc6a8 100644 --- a/examples/providers/singleton_reseting.py +++ b/examples/providers/singleton_reseting.py @@ -8,8 +8,7 @@ class UserService(object): """Example class UserService.""" -# Singleton provider creates new instance of specified class on first call and -# returns same instance on every next call. +# Users service singleton provider: users_service_provider = Singleton(UserService) # Retrieving several UserService objects: