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

Method set_convenience_variable

Lib/pdb.py:1120–1123  ·  view source on GitHub ↗
(self, frame, name, value)

Source from the content-addressed store, hash-verified

1118 # convenience variables
1119
1120 def set_convenience_variable(self, frame, name, value):
1121 if '__pdb_convenience_variables' not in frame.f_globals:
1122 frame.f_globals['__pdb_convenience_variables'] = {}
1123 frame.f_globals['__pdb_convenience_variables'][name] = value
1124
1125 # Generic completion functions. Individual complete_foo methods can be
1126 # assigned below to one of these functions.

Callers 4

setupMethod · 0.95
user_returnMethod · 0.95
user_exceptionMethod · 0.95
_select_frameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected