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

Method get_destination

Tools/clinic/libclinic/app.py:169–173  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

167 self.destinations[name] = Destination(name, type, self, args)
168
169 def get_destination(self, name: str) -> Destination:
170 d = self.destinations.get(name)
171 if not d:
172 fail(f"Destination does not exist: {name!r}")
173 return d
174
175 def get_destination_buffer(
176 self,

Callers 4

render_functionMethod · 0.80
directive_destinationMethod · 0.80
directive_dumpMethod · 0.80

Calls 2

failFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected