Fix typo in the example of nesting bp docs

This commit is contained in:
Grey Li 2021-05-12 12:58:23 +08:00 committed by Phil Jones
parent 22d82e70b3
commit d575de5159

View file

@ -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)