MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / wrapped

Method wrapped

mitmproxy/tools/console/window.py:168–174  ·  view source on GitHub ↗
(idx)

Source from the content-addressed store, hash-verified

166 self.pane = 0
167
168 def wrapped(idx):
169 widget = self.stacks[idx].top_widget()
170 if self.master.options.console_layout_headers:
171 title = self.stacks[idx].top_window().title
172 else:
173 title = None
174 return StackWidget(self, widget, title, self.pane == idx)
175
176 w = None
177 if c == "single":

Callers

nothing calls this directly

Calls 3

StackWidgetClass · 0.85
top_widgetMethod · 0.80
top_windowMethod · 0.80

Tested by

no test coverage detected