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

Method show_locals

Lib/idlelib/debugger.py:360–370  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

358 self.show_variables()
359
360 def show_locals(self):
361 lv = self.localsviewer
362 if self.vlocals.get():
363 if not lv:
364 self.localsviewer = NamespaceViewer(self.flocals, "Locals")
365 else:
366 if lv:
367 self.localsviewer = None
368 lv.close()
369 self.flocals['height'] = 1
370 self.show_variables()
371
372 def show_globals(self):
373 gv = self.globalsviewer

Callers 1

make_guiMethod · 0.95

Calls 4

show_variablesMethod · 0.95
NamespaceViewerClass · 0.85
getMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected