tools.py 117 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 def round_up(n): i = int(n) if n == i: return i if n > 0: return i + 1 return i - 1