Skip to content

Commit 9c81149

Browse files
committed
make it work for both py2 and py3
1 parent 5c38a96 commit 9c81149

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bap/bir.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ class Values(Map) :
254254
to an expression that denotes a value.
255255
"""
256256
def __init__(self, *args):
257-
super().__init__([ADT(p) for p in args[0]])
257+
super(Map,self).__init__(args)
258+
self.elements = dict(args[0])
258259

259260
class Tid(ADT) :
260261
"""Tid(id,name=None) term unique identifier.

0 commit comments

Comments
 (0)