make style (#11442)

This commit is contained in:
Patrick von Platen
2021-04-26 13:50:34 +02:00
committed by GitHub
parent 04ab2ca639
commit 32dbb2d954
105 changed files with 202 additions and 202 deletions

View File

@@ -47,7 +47,7 @@ class CNNDMDataset(Dataset):
self.documents.append(path_to_story)
def __len__(self):
""" Returns the number of documents. """
"""Returns the number of documents."""
return len(self.documents)
def __getitem__(self, idx):