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
+1 -1
View File
@@ -23,7 +23,7 @@ parser.add_argument(
# A custom data source that reads articles from wikipedia
# Custom data sources need to implement a get_next() method
# that returns the next data element, in this case sentences
class Wikipedia(object):
class Wikipedia:
def __init__(self, title_file):
# Titles in this file will be as queries
self.title_file = title_file