Browse Source

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

pull/272/merge
Kyle Wild 13 years ago committed by Ron DuPlain
parent
commit
8532bd51a7
  1. 2
      flask/ctx.py

2
flask/ctx.py

@ -21,7 +21,7 @@ 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, you may want to take advantage
of request information if the request object is available, but fail of request information if the request object is available, but fail
silently if it is unavailable. silently if it is unavailable.

Loading…
Cancel
Save