Skip to content
Myr

Merge pull request #2737 from jesseops/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

fix #2736 - remove explicit check for list as a return value in make_response

authored by David Lord · committed by GitHub · parents 9394c38, 3666a58 · 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/app.py+1 added-1 removed
1921 unmodified lines
19221923 status = headers = None19241925 # unpack tuple returns1926 if isinstance(rv, (tuple, list)):1926 if isinstance(rv, tuple):1927 len_rv = len(rv)19281929 # a 3-tuple is unpacked directly1930 if len_rv == 3:
377 unmodified lines