def _rectify_hashlen(hashlen):
if hashlen is NoParam or hashlen == '<STR_LIT:default>':<EOL><INDENT>return DEFAULT_HASHLEN<EOL><DEDENT>else:<EOL><INDENT>return hashlen<EOL><DEDENT>
Example:
    >>> assert _rectify_hashlen(NoParam) is DEFAULT_HASHLEN
    >>> assert _rectify_hashlen(8) == 8