<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _fullqualname_method_py3(obj):
 """Fully qualified name for 'method' objects in Python 3. """


    if inspect.isclass(obj.__self__):
        cls = obj.__self__.__qualname__
    else:
        cls = obj.__self__.__class__.__qualname__

    return obj.__self__.__module__ + '.' + cls + '.' + obj.__name__