Skip to content

Commit 75bb54c

Browse files
committed
Don't set a local variable named __args__; this feature no longer
works and Greg Ward just reported a problem it caused...
1 parent 9814a94 commit 75bb54c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/bdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def dispatch_line(self, frame):
4646
return self.trace_dispatch
4747

4848
def dispatch_call(self, frame, arg):
49-
frame.f_locals['__args__'] = arg
49+
# XXX 'arg' is no longer used
5050
if self.botframe is None:
5151
# First call of dispatch since reset()
5252
self.botframe = frame

0 commit comments

Comments
 (0)