pythoncom.OleFlushClipboard

OleFlushClipboard()

Carries out the clipboard shutdown sequence. It also releases the IDataObject pointer that was placed on the clipboard by the pythoncom::OleSetClipboard function.