parameters: (self)
return_statement: return buf
docstring: Return any data available in the SB ... SE queue.
  
          Return '' if no SB ... SE available. Should only be called
          after seeing a SB or SE command. When a new SB command is
          found, old unread SB data will be discarded. Don't block.
docstring_summary: Return any data available in the SB ... SE queue.
docstring_tokens: Return any data available in the SB ... SE queue .
function: def read_sb_data(self):
          """Return any data available in the SB ... SE queue.
  
          Return '' if no SB ... SE available. Should only be called
          after seeing a SB or SE command. When a new SB command is
          found, old unread SB data will be discarded. Don't block.
  
          """
          buf = self.sbdataq
          self.sbdataq = ''
          return buf
function_tokens: def read_sb_data ( self ) : buf = self . sbdataq self . sbdataq = '' return buf