MCPcopy Index your code
hub / github.com/python/cpython / result_is_file

Method result_is_file

Lib/wsgiref/handlers.py:358–361  ·  view source on GitHub ↗

True if 'self.result' is an instance of 'self.wsgi_file_wrapper

(self)

Source from the content-addressed store, hash-verified

356
357
358 def result_is_file(self):
359 """True if 'self.result' is an instance of 'self.wsgi_file_wrapper'"""
360 wrapper = self.wsgi_file_wrapper
361 return wrapper is not None and isinstance(self.result,wrapper)
362
363
364 def client_is_modern(self):

Callers 1

finish_responseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected