From 64a7a18f7934d70b4d8bf6b764aa7de8957c360e Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Thu, 18 Feb 2021 08:18:24 -0500 Subject: [PATCH] Improve doc blocks in declarative_override_decorator.py example --- examples/containers/declarative_override_decorator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/containers/declarative_override_decorator.py b/examples/containers/declarative_override_decorator.py index 8995cb13..16276d2f 100644 --- a/examples/containers/declarative_override_decorator.py +++ b/examples/containers/declarative_override_decorator.py @@ -1,4 +1,4 @@ -"""Declarative container provider overriding with `@override()` decorator.""" +"""Declarative container provider overriding with ``@override()`` decorator.""" import sqlite3 from unittest import mock @@ -11,7 +11,7 @@ class Container(containers.DeclarativeContainer): database = providers.Singleton(sqlite3.connect, ':memory:') -# Overriding `Container` with `OverridingContainer`: +# Overriding ``Container`` with ``OverridingContainer``: @containers.override(Container) class OverridingContainer(containers.DeclarativeContainer):