Kaydet (Commit) 105b9c7d authored tarafından Guido van Rossum's avatar Guido van Rossum

Add optional 'force' argument (default 0) to load_dict().

If set, redo the display even if it's the same dict.
üst 0e5088fc
......@@ -220,8 +220,8 @@ class NamespaceViewer:
dict = -1
def load_dict(self, dict):
if dict is self.dict:
def load_dict(self, dict, force=0):
if dict is self.dict and not force:
return
subframe = self.subframe
frame = self.frame
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment