def checkAlias(alias):
 if (',' in alias):
  raise AXError(('Alias %r must not contain comma' % (alias,)))
 if ('.' in alias):
  raise AXError(('Alias %r must not contain period' % (alias,)))

def checkAlias ( alias ) : if ( ',' in alias ) : raise AXError ( ( 'Alias %r must not contain comma' % ( alias , ) ) ) if ( '.' in alias ) : raise AXError ( ( 'Alias %r must not contain period' % ( alias , ) ) )
check an alias for invalid characters; raise axerror if any are found .