Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .basedpyright/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7841,14 +7841,6 @@
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 21,
"endColumn": 44,
"lineCount": 1
}
},
{
"code": "reportUnknownMemberType",
"range": {
Expand Down
2 changes: 1 addition & 1 deletion pudb/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -2035,7 +2035,7 @@ def cmdline_exec(w, size, key):
sys.stderr = sys.stdout = StringIO()
try:
eval(compile(cmd, "<pudb command line>", "single"),
cmdline_get_namespace())
{}, cmdline_get_namespace())
except Exception:
tp, val, tb = sys.exc_info()

Expand Down
3 changes: 1 addition & 2 deletions pudb/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ def __init__(self,
source_dicts: Sequence[Mapping[K, V]],
target_dict: MutableMapping[K, V]):
super().__init__()
self.target_dict = target_dict
for s in source_dicts[::-1]:
self.update(s)

self.target_dict = target_dict

@override
def __setitem__(self, key: K, value: V):
super().__setitem__(key, value)
Expand Down