From d575de5159a6e40944275763c9ada2801214058b Mon Sep 17 00:00:00 2001 From: Grey Li Date: Wed, 12 May 2021 12:58:23 +0800 Subject: [PATCH] Fix typo in the example of nesting bp docs --- docs/blueprints.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/blueprints.rst b/docs/blueprints.rst index 6e8217ab..af368bac 100644 --- a/docs/blueprints.rst +++ b/docs/blueprints.rst @@ -127,8 +127,8 @@ It is possible to register a blueprint on another blueprint. .. code-block:: python - parent = Blueprint("parent", __name__, url_prefix="/parent") - child = Blueprint("child", __name__, url_prefix="/child) + parent = Blueprint('parent', __name__, url_prefix='/parent') + child = Blueprint('child', __name__, url_prefix='/child') parent.register_blueprint(child) app.register_blueprint(parent)