From fe1bf3c8213c56e045ead8afa84773f181b3dab6 Mon Sep 17 00:00:00 2001 From: David Lord Date: Wed, 14 Jun 2017 07:26:48 -0700 Subject: [PATCH] document the blueprint param too --- flask/app.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flask/app.py b/flask/app.py index 7ac59fdb..ece1e2bf 100644 --- a/flask/app.py +++ b/flask/app.py @@ -994,9 +994,7 @@ class Flask(_PackageBoundObject): return self.session_interface.make_null_session(self) @setupmethod - def register_blueprint( - self, blueprint, **options - ): + def register_blueprint(self, blueprint, **options): """Register a :class:`~flask.Blueprint` on the application. Keyword arguments passed to this method will override the defaults set on the blueprint. @@ -1004,6 +1002,7 @@ class Flask(_PackageBoundObject): Calls the blueprint's :meth:`~flask.Blueprint.register` method after recording the blueprint in the application's :attr:`blueprints`. + :param blueprint: The blueprint to register. :param url_prefix: Blueprint routes will be prefixed with this. :param subdomain: Blueprint routes will match on this subdomain. :param url_defaults: Blueprint routes will use these default values for