mirror of
https://github.com/wassname/ray.git
synced 2026-08-01 12:51:09 +08:00
Remove (object) from class declarations. (#6658)
This commit is contained in:
committed by
Philipp Moritz
parent
f1b56fa5ee
commit
39a3459886
@@ -17,7 +17,7 @@ parser.add_argument("--input-file", required=True, help="the input text file")
|
||||
|
||||
|
||||
# A class used to check attribute-based key selection
|
||||
class Record(object):
|
||||
class Record:
|
||||
def __init__(self, record):
|
||||
k, _ = record
|
||||
self.word = k
|
||||
|
||||
Reference in New Issue
Block a user