Skip to content
Myr

Fixed some embarrassing grammar

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 977e766 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/blueprints.py+1 added-1 removed
165 unmodified lines
166 """Like :meth:`Flask.add_url_rule` but for a blueprint. The endpoint for167 the :func:`url_for` function is prefixed with the name of the blueprint.168 """169 if endpoint:170 assert '.' not in endpoint, "Blueprint endpoint's should not contain dot's"170 assert '.' not in endpoint, "Blueprint endpoints should not contain dots"171 self.record(lambda s:172 s.add_url_rule(rule, endpoint, view_func, **options))173174 def endpoint(self, endpoint):
227 unmodified lines