(self, name, *args)
return self._simple_command(name, *args)
Allow simple extension commands
                notified by server in CAPABILITY response.

        Assumes command is legal in current state.

        (typ, [data]) = <instance>.xatom(name, arg, ...)

        Returns response appropriate to extension command `name'.
Allow simple extension commands
                notified by server in CAPABILITY response.
Allow simple extension commands notified by server in CAPABILITY response .
def xatom(self, name, *args):
        """Allow simple extension commands
                notified by server in CAPABILITY response.

        Assumes command is legal in current state.

        (typ, [data]) = <instance>.xatom(name, arg, ...)

        Returns response appropriate to extension command `name'.
        """
        name = name.upper()
        #if not name in self.capabilities:      # Let the server decide!
        #    raise self.error('unknown extension command: %s' % name)
        if not name in Commands:
            Commands[name] = (self.state,)
        return self._simple_command(name, *args)
def xatom ( self , name , * args ) : name = name . upper ( ) #if not name in self.capabilities:      # Let the server decide! #    raise self.error('unknown extension command: %s' % name) if not name in Commands : Commands [ name ] = ( self . state , ) return self . _simple_command ( name , * args )