The full source code is @ PEP 333. These two lines:
status, response_headers = headers_sent[:] = headers_set
.. and ..
headers_set[:] = [status, response_headers]
What am I looking at here? How does [:]
differ from giving nothing at all (just headers_set
)? If someone could provide an explanation, I'd be really glad.