MCPcopy Create free account
hub / github.com/python/cpython / __contains__

Method __contains__

Lib/wsgiref/headers.py:85–87  ·  view source on GitHub ↗

Return true if the message contains the header.

(self, name)

Source from the content-addressed store, hash-verified

83 return self.get(name)
84
85 def __contains__(self, name):
86 """Return true if the message contains the header."""
87 return self.get(name) is not None
88
89
90 def get_all(self, name):

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected