code: def _check_argument_units(args, dimensionality):
      
      for arg, val in args.items():
          # Get the needed dimensionality (for printing) as well as cached, parsed version
          # for this argument.
          try:
              need, parsed = dimensionality[arg]
          except KeyError:
              # Argument did not have units specified in decorator
              continue
  
          # See if the value passed in is appropriate
          try:
              if val.dimensionality != parsed:
                  yield arg, val.units, need
          # No dimensionality
          except AttributeError:
              # If this argument is dimensionless, don't worry
              if parsed != '':
                  yield arg, 'none', need
docs: Yield arguments with improper dimensionality.