@staticmethod<EOL><INDENT>def _variant_levels(level, variant):<DEDENT>
return (level + variant, level + variant)if variant != <NUM_LIT:0> else (variant, level)<EOL>
Gets the level for the variant.

:param int level: the current variant level
:param int variant: the value for this level if variant

:returns: a level for the object and one for the function
:rtype: int * int