[ray] Inconsistent documentation: atexit behavior with ray.kill(actor)

In the source code documentation for ray.kill(actor) it states:

This will interrupt any running tasks on the actor, causing them to fail
immediately. Any atexit handlers installed in the actor will still be run.

Source: https://github.com/ray-project/ray/blob/master/python/ray/worker.py#L1536

In the documentation online it states:

This will not go through the normal Python sys.exit teardown logic, so any exit handlers installed in the actor using atexit will not be called.

Source: https://docs.ray.io/en/master/actors.html#manual-termination-via-an-actor-handle

Which statement is correct?

cc @eoakes The documentation should be correct right? I think we should fix this msg.

Thanks for pointing this out! Yes, the documentation is correct here.

PR to fix the docstring: