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 48325dbfb8
commit 57b19fda54

View file

@ -127,8 +127,8 @@ It is possible to register a blueprint on another blueprint.
.. code-block:: python .. code-block:: python
parent = Blueprint("parent", __name__, url_prefix="/parent") parent = Blueprint('parent', __name__, url_prefix='/parent')
child = Blueprint("child", __name__, url_prefix="/child) child = Blueprint('child', __name__, url_prefix='/child')
parent.register_blueprint(child) parent.register_blueprint(child)
app.register_blueprint(parent) app.register_blueprint(parent)