File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1295,9 +1295,9 @@ def wrapper(self, other=None):
1295
1295
del frame
1296
1296
1297
1297
if other is not None :
1298
- arguments = [str ( self ), str ( other ) ]
1298
+ arguments = [self , other ]
1299
1299
else :
1300
- arguments = [str ( self ) ]
1300
+ arguments = [self ]
1301
1301
1302
1302
def get_id (sym_node ) -> Optional [int ]:
1303
1303
# We don't want to return an ID if the input is a constant
@@ -1309,8 +1309,10 @@ def get_id(sym_node) -> Optional[int]:
1309
1309
"method" : method ,
1310
1310
"result" : str (result ),
1311
1311
"result_id" : id (result ),
1312
- "arguments" : arguments ,
1313
- "argument_ids" : [i for i in arguments if i is not None ],
1312
+ "arguments" : [str (a ) for a in arguments ],
1313
+ "argument_ids" : [
1314
+ get_id (i ) for i in arguments if get_id (i ) is not None
1315
+ ],
1314
1316
"user_bottom_stack" : str (user_bottom_stack ),
1315
1317
"user_top_stack" : str (user_top_stack ),
1316
1318
"floc" : str (floc ),
You can’t perform that action at this time.
0 commit comments