def version_variants(version):
result = [version]<EOL>parts = version.split("<STR_LIT:.>")<EOL>while len(parts) < <NUM_LIT:3>:<EOL><INDENT>parts.append("<STR_LIT:0>")<EOL>result.append("<STR_LIT:.>".join(parts))<EOL><DEDENT>return result<EOL>
Given an igraph version number, returns a list of possible version
    number variants to try when looking for a suitable nightly build of the
    C core to download from igraph.org.