parameters: (self, pattern, timeout=60)
docstring: pattern is a list of string regexp patterns.
  
             timeout == None expect can block indefinitely.
  
             timeout == -1 then the default is used.
docstring_summary: pattern is a list of string regexp patterns.
docstring_tokens: pattern is a list of string regexp patterns .
function: def expectall(self, pattern, timeout=60):
          """pattern is a list of string regexp patterns.
  
             timeout == None expect can block indefinitely.
  
             timeout == -1 then the default is used.
          """
          if timeout == -1:
              timeout = self.timeout
  
          pattern = [(p, re.compile(p, re.S)) for p in pattern]
          try:
              self.buf = self.r.match(pattern, timeout, matchall=True)
              self.before = ""
              self.after = ""
              self.matchindex = 0
              self.match = None
          except TIMEOUT as e:
              self.buf = ""
              self.before = ""
              self.after = ""
              self.matchindex = 0
              self.match = None
              raise e
function_tokens: def expectall ( self , pattern , timeout = 60 ) : if timeout == - 1 : timeout = self . timeout pattern = [ ( p , re . compile ( p , re . S ) ) for p in pattern ] try : self . buf = self . r . match ( pattern , timeout , matchall = True ) self . before = "" self . after = "" self . matchindex = 0 self . match = None except TIMEOUT as e : self . buf = "" self . before = "" self . after = "" self . matchindex = 0 self . match = None raise e