better ValueError msg

This commit is contained in:
Hedy Li 2020-08-05 09:32:26 +00:00
parent f7ab2afa1f
commit b698b8d6d2
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class Rule(JupyterMixin):
) -> None:
if cell_len(characters) < 1:
raise ValueError(
"'character' argument must at least have a cell width of 1"
"'characters' argument must have at least a cell width of 1"
)
self.title = title
self.characters = characters