← Back to DAGDA | Support | Source: https://github.com/python/cpython/commit/68151553845199136794bd60dcec238d8bfe0bdb
Skip to content

Commit 6815155

Browse files
csabellarhettinger
authored andcommitted
bpo-35567: Convert dict of constants to a set (GH-11296)
1 parent f06fba5 commit 6815155

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Lib/wsgiref/util.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ def setup_testing_defaults(environ):
162162

163163

164164
_hoppish = {
165-
'connection':1, 'keep-alive':1, 'proxy-authenticate':1,
166-
'proxy-authorization':1, 'te':1, 'trailers':1, 'transfer-encoding':1,
167-
'upgrade':1
165+
'connection', 'keep-alive', 'proxy-authenticate',
166+
'proxy-authorization', 'te', 'trailers', 'transfer-encoding',
167+
'upgrade'
168168
}.__contains__
169169

170170
def is_hop_by_hop(header_name):

0 commit comments

Comments
 (0)