@replicated<EOL><INDENT>def get(self, default=None):<DEDENT>
try:<EOL><INDENT>return self.__data.popleft()<EOL><DEDENT>except:<EOL><INDENT>return default<EOL><DEDENT>
Extract item from queue.
        Return default if queue is empty.