Remove (object) from class declarations. (#6658)

This commit is contained in:
Robert Nishihara
2020-01-02 17:42:13 -08:00
committed by Philipp Moritz
parent f1b56fa5ee
commit 39a3459886
162 changed files with 397 additions and 398 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ logger = logging.getLogger(__name__)
SESSION_LATEST = "session_latest"
class Node(object):
class Node:
"""An encapsulation of the Ray processes on a single node.
This class is responsible for starting Ray processes and killing them,
@@ -882,7 +882,7 @@ class Node(object):
return not any(self.dead_processes())
class LocalNode(object):
class LocalNode:
"""Imitate the node that manages the processes in local mode."""
def kill_all_processes(self, *args, **kwargs):