parameters: (version)
return_statement: return ".".join(map("{0:04d}".format, version_keys))
docstring: Key for sorting version number strings: '3.11' > '3.2.1.1
docstring_summary: Key for sorting version number strings: '3.11' > '3.2.1.1
docstring_tokens: Key for sorting version number strings : 3 . 11 > 3 . 2 . 1 . 1
function: def SortingKey(version):
    """Key for sorting version number strings: '3.11' > '3.2.1.1'"""
    version_keys = map(int, version.split("."))
    # Fill up to full version numbers to normalize comparison.
    while len(version_keys) < 4:  # pragma: no cover
      version_keys.append(0)
    # Fill digits.
    return ".".join(map("{0:04d}".format, version_keys))
function_tokens: def SortingKey ( version ) : version_keys = map ( int , version . split ( "." ) ) # Fill up to full version numbers to normalize comparison. while len ( version_keys ) < 4 : # pragma: no cover version_keys . append ( 0 ) # Fill digits. return "." . join ( map ( "{0:04d}" . format , version_keys ) )