Skip to content

Commit 32a722b

Browse files
Plurals in message
Co-authored-by: Sadie L. Bartholomew <[email protected]>
1 parent 2c4e00d commit 32a722b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cf/read_write/read.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,8 @@ def __new__(
848848
if nfields is not None and len(out) != nfields:
849849
raise ValueError(
850850
f"{nfields} field{cls._plural(nfields)} requested but "
851-
f"{len(out)} field/domain constucts found in "
852-
f"file{cls._plural(file_counter)}"
851+
f"{len(out)} field/domain constuct{cls._plural(len(out))}"
852+
f" found in file{cls._plural(file_counter)}"
853853
)
854854

855855
return out

0 commit comments

Comments
 (0)