Author: Ronan Lamy <[email protected]> Branch: var-in-Some Changeset: r71545:b6f3e57eed80 Date: 2014-05-16 01:31 +0100 http://bitbucket.org/pypy/pypy/changeset/b6f3e57eed80/
Log: create AnnotatedValue diff --git a/rpython/annotator/value.py b/rpython/annotator/value.py new file mode 100644 --- /dev/null +++ b/rpython/annotator/value.py @@ -0,0 +1,9 @@ +""" AnnotatedValue """ + +class AnnotatedValue(object): + def __init__(self, value, annotation): + self.value = value + self.ann = annotation + + def __repr__(self): + return "AnnotatedValue(%s, %r)" % (self.value, self.ann) _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
