Fix a typo ("is"->"if") in the comments; clarify a bit
This commit is contained in:
parent
d620ea7ea2
commit
46651659c2
1 changed files with 3 additions and 3 deletions
|
|
@ -21,9 +21,9 @@ class _RequestGlobals(object):
|
||||||
|
|
||||||
def has_request_context():
|
def has_request_context():
|
||||||
"""If you have code that wants to test if a request context is there or
|
"""If you have code that wants to test if a request context is there or
|
||||||
not this function can be used. For instance if you want to take advantage
|
not this function can be used. For instance, if you want to take advantage
|
||||||
of request information is it's available but fail silently if the request
|
of request information if the request object is available, but fail
|
||||||
object is unavailable.
|
silently if it is unavailable.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue