def reject_spurious_dots(*items):
 for list in items:
  for tok in list:
   if ((tok == '.') and (type(tok) == HySymbol)):
    raise LexException('Malformed dotted list', tok.start_line, tok.start_column)

def reject_spurious_dots ( * items ) : for list in items : for tok in list : if ( ( tok == '.' ) and ( type ( tok ) == HySymbol ) ) : raise LexException ( 'Malformed dotted list' , tok . start_line , tok . start_column )
reject the spurious dots from items .