code: def _iter_party_speech_pairs():
      for speaker_obj in ConventionData2012._convention_speech_iter():
          political_party = speaker_obj["name"]
          for speech in speaker_obj["speeches"]:
              yield political_party, speech
  
imports: import bz2
  import io
  import json
  import pkgutil
  import re
  import sys
  from scattertext.Common import POLITICAL_DATA_URL, ROTTEN_TOMATOES_DATA_URL
  import pandas
label_desc: Use image node_id 4 for calling the ConventionData2012 obj's underlying member method code with example usage: obj._iter_party_speech_pairs() without return types