    class InvalidCommandSequence(exceptions.Exception):

    class ASStreamOut:
        def __init__(self):
        def autoCommit(self, val=0):
        def bufferSize(self, size=8192):
        def flush(self):
        def buffer(self):
        def clear(self):
        def close(self):
        def closed(self):
        def size(self):
        def prepend(self, charstr):
        def pop(self, count):
        def committed(self):
        def needCommit(self):
        def commit(self, autoCommit=1):
        def write(self, charstr):