forked from orbit-oss/flask
Fixed a syntax error
This commit is contained in:
parent
07878722a8
commit
1beb0f2e7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue