Skip to content
Myr

Fix a typo ("is"->"if") in the comments; clarify a bit

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

authored by Kyle Wild · committed by Ron DuPlain · parent d620ea7 · Browse files · 1 file+3 added−3 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+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:flask/ctx.py+3 added-3 removed
19 unmodified lines
202122def has_request_context():23 """If you have code that wants to test if a request context is there or24 not this function can be used. For instance if you want to take advantage25 of request information is it's available but fail silently if the request26 object is unavailable.24 not this function can be used. For instance, if you want to take advantage25 of request information if the request object is available, but fail26 silently if it is unavailable.2728 ::2930 class User(db.Model):
149 unmodified lines