def get_leaf(self):
    value = None
    for (_, R) in self.iterdeps():
        value = R.get()
    return value
def get_leaf(self):
    value = None
    for (_, R) in self.iterdeps():
        value = R.get()
    return value