def SplitVersion(version):
  assert isinstance(version, int)

  (major, remainder) = divmod(version, 1000000)
  (minor, revision) = divmod(remainder, 10000)

  return (major, minor, revision)
Start a new line, optionally beginning at the current margin.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/version.py/SplitVersion--crossover with--dataset/ETHPy150Open google/rfmt/formatter/support.py/Console.NewLine