(self, x)
Returns value of argument after given found argument (or list thereof).
Returns value of argument after given found argument (or list thereof).
Returns value of argument after given found argument ( or list thereof ) .
def value_after(self, x):
        """Returns value of argument after given found argument (or list thereof)."""

        try:
            try:
                i = self.all.index(x)
            except ValueError:
                return None

            return self.all[i + 1]

        except IndexError:
            return None
def value_after ( self , x ) : try : try : i = self . all . index ( x ) except ValueError : return None return self . all [ i + 1 ] except IndexError : return None