Skip to content
Myr

[docstring] Remove an extra `if` clause to clarify sentence

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 4665165 · 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/ctx.py+1 added-1 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 advantage24 not this function can be used. For instance, you may want to take advantage25 of request information if the request object is available, but fail26 silently if it is unavailable.2728 ::
151 unmodified lines