Documentation nits; Sematnics syntax cleanup

This commit is contained in:
Dimo
2017-07-21 16:46:20 -07:00
committed by Jakob Stoklund Olesen
parent 40c86d58b9
commit 9258283e14
10 changed files with 103 additions and 94 deletions

View File

@@ -55,7 +55,7 @@ class Rtl(object):
def vars(self):
# type: () -> Set[Var]
""" Return the set of all Vars that appear in self"""
"""Return the set of all Vars in self that correspond to SSA values"""
return reduce(lambda x, y: x.union(y),
[d.vars() for d in self.rtl],
set([]))