diff --git a/python/ray/worker.py b/python/ray/worker.py index d05aff40c..a3dd96be1 100644 --- a/python/ray/worker.py +++ b/python/ray/worker.py @@ -578,7 +578,7 @@ class Worker(object): function_id: The ID of the function to execute. args: The arguments to pass into the function. Arguments can be object IDs or they can be values. If they are values, they must - be serializable objecs. + be serializable objects. actor_id: The ID of the actor that this task is for. actor_counter: The counter of the actor task. is_actor_checkpoint_method: True if this is an actor checkpoint @@ -782,8 +782,6 @@ class Worker(object): been defined. Args: - is_actor (bool): True if this worker is an actor, and false - otherwise. function_id (str): The ID of the function that we want to execute. driver_id (str): The ID of the driver to push the error message to if this times out. @@ -818,7 +816,7 @@ class Worker(object): """Retrieve the arguments for the remote function. This retrieves the values for the arguments to the remote function that - were passed in as object IDs. Argumens that were passed by value are + were passed in as object IDs. Arguments that were passed by value are not changed. This is called by the worker that is executing the remote function.