Browse Source

Fixed a syntax error

pull/594/merge
Armin Ronacher 13 years ago
parent
commit
1beb0f2e7f
  1. 2
      flask/helpers.py

2
flask/helpers.py

@ -113,7 +113,7 @@ def stream_with_context(generator_or_function):
yield '!' yield '!'
return Response(generate()) return Response(generate())
Alternatively it can also be used around a specific generator: Alternatively it can also be used around a specific generator::
from flask import stream_with_context, request, Response from flask import stream_with_context, request, Response

Loading…
Cancel
Save