This isn't a good use, as it create a new function every times we call eq.
What about:
"""
docstring
"""
eq = __ComparisonSwitch(equal_s_s, equal_s_d, equal_s_d)