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

Method close

Lib/xmlrpc/client.py:637–643  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

635 self._use_bytes = use_builtin_types
636
637 def close(self):
638 # return response tuple and target method
639 if self._type is None or self._marks:
640 raise ResponseError()
641 if self._type == "fault":
642 raise Fault(**self._stack[0])
643 return tuple(self._stack)
644
645 def getmethodname(self):
646 return self._methodname

Callers

nothing calls this directly

Calls 2

ResponseErrorClass · 0.85
FaultClass · 0.85

Tested by

no test coverage detected