Skip to content

Commit e73c9bb

Browse files
Merge pull request #3206 from c-jg:grammar-fix
PiperOrigin-RevId: 372322955
2 parents 76d4b23 + 2bb3c8e commit e73c9bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensorflow_datasets/core/community/register_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def builder(
113113
close_matches = difflib.get_close_matches(
114114
name.namespace, self._ns2data_dir, n=1
115115
)
116-
hint = f'\nDid you meant: {close_matches[0]}' if close_matches else ''
116+
hint = f'\nDid you mean: {close_matches[0]}' if close_matches else ''
117117
raise KeyError(
118118
f'Namespace `{name.namespace}` for `{name}` not found. '
119119
f'Should be one of {sorted(self._ns2data_dir)}{hint}'

tensorflow_datasets/core/load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,6 @@ def _reraise_with_list_builders(
457457
# Add close matches
458458
close_matches = difflib.get_close_matches(str(name), all_datasets, n=1)
459459
if close_matches:
460-
error_string += f'\nDid you meant: {name} -> {close_matches[0]}\n'
460+
error_string += f'\nDid you mean: {name} -> {close_matches[0]}\n'
461461

462462
raise py_utils.reraise(e, suffix=error_string)

0 commit comments

Comments
 (0)