def matching_details(field):
 our_args = []
 our_kwargs = {}
 for (classes, args, kwargs) in introspection_details:
  if any([isinstance(field, x) for x in classes]):
   our_args.extend(args)
   our_kwargs.update(kwargs)
 return (our_args, our_kwargs)

def matching_details ( field ) : our_args = [ ] our_kwargs = { } for ( classes , args , kwargs ) in introspection_details : if any ( [ isinstance ( field , x ) for x in classes ] ) : our_args . extend ( args ) our_kwargs . update ( kwargs ) return ( our_args , our_kwargs )
returns the union of all matching entries in introspection_details for the field .