def _clear_watcher(conn, expiring_weakref):
 try:
  conn.control_conn_disposed()
 except ReferenceError:
  pass

def _clear_watcher ( conn , expiring_weakref ) : try : conn . control_conn_disposed ( ) except ReferenceError : pass
called when the controlconnection object is about to be finalized .