Skip to content

Commit

Permalink
Use an immutable for default parameter value
Browse files Browse the repository at this point in the history
  • Loading branch information
Hardtack authored and vshia committed Dec 4, 2019
1 parent 5ec7c88 commit 5e2906a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wsgi_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __call__(self, env, start_response):


class IterableApp(object):
def __init__(self, send_start_response=False, return_val=[]):
def __init__(self, send_start_response=False, return_val=()):
self.send_start_response = send_start_response
self.return_val = return_val
self.env = {}
Expand Down

0 comments on commit 5e2906a

Please sign in to comment.