parameters: (self, sig)
docstring: Send a signal to process pre-emptively checking whether
          PID has been reused (see signal module constants) .
          On Windows only SIGTERM is valid and is treated as an alias
          for kill().
docstring_summary: Send a signal to process pre-emptively checking whether
          PID has been reused (see signal module constants) .
          On Windows only SIGTERM is valid and is treated as an alias
          for kill().
docstring_tokens: Send a signal to process pre - emptively checking whether PID has been reused ( see signal module constants ) . On Windows only SIGTERM is valid and is treated as an alias for kill () .
function: def send_signal(self, sig):
          """Send a signal to process pre-emptively checking whether
          PID has been reused (see signal module constants) .
          On Windows only SIGTERM is valid and is treated as an alias
          for kill().
          """
          if _POSIX:
              self._send_signal(sig)
          else:
              if sig == signal.SIGTERM:
                  self._proc.kill()
              else:
                  raise ValueError("only SIGTERM is supported on Windows")
function_tokens: def send_signal ( self , sig ) : if _POSIX : self . _send_signal ( sig ) else : if sig == signal . SIGTERM : self . _proc . kill ( ) else : raise ValueError ( "only SIGTERM is supported on Windows" )