parameters: (self)
docstring: This private function is called by the destructor to detach the
          process from its shared memory segment.  When the last process detaches
          from a shared memory segment, the system releases the shared memory.
docstring_summary: This private function is called by the destructor to detach the
          process from its shared memory segment.  When the last process detaches
          from a shared memory segment, the system releases the shared memory.
docstring_tokens: This private function is called by the destructor to detach the process from its shared memory segment . When the last process detaches from a shared memory segment the system releases the shared memory .
function: def detach(self):
          """ This private function is called by the destructor to detach the
          process from its shared memory segment.  When the last process detaches
          from a shared memory segment, the system releases the shared memory.
          """
  
          if not self.sharedMemory.detach():
              self.ui.label.setText("Unable to detach from shared memory.")
function_tokens: def detach ( self ) : if not self . sharedMemory . detach ( ) : self . ui . label . setText ( "Unable to detach from shared memory." )