def test_singledispatch2(self): if hasattr(functools, 'singledispatch'): doc.singledispatch_example2()
def test_singledispatch2(self): doc.singledispatch_example2()