code: def commit_api(api):
      
  
      if api == QT_API_PYSIDE:
          ID.forbid('PyQt4')
          ID.forbid('PyQt5')
      else:
          ID.forbid('PySide')
docs: Commit to a particular API, and trigger ImportErrors on subsequent
         dangerous imports