def object_build_methoddescriptor(node, member, localname):
 func = build_function((getattr(member, '__name__', None) or localname), doc=member.__doc__)
 func.args.args = None
 node.add_local_node(func, localname)

def object_build_methoddescriptor ( node , member , localname ) : func = build_function ( ( getattr ( member , '__name__' , None ) or localname ) , doc = member . __doc__ ) func . args . args = None node . add_local_node ( func , localname )
create astroid for a living method descriptor object .