Skip to content

Commit 9e6380e

Browse files
committed
clean up error messages
1 parent 58e0e1b commit 9e6380e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tatsu/infos.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ def __post_init__(self): # pylint: disable=W0235
6666
self.keywords = [k.upper() for k in self.keywords]
6767

6868
if self.comments_re or self.eol_comments_re:
69-
raise AttributeError("""\
70-
Both `comments_re` and `eol_comments_re` have been removed from parser configuration.
71-
Please use `comments` and/or `eol_comments` instead`.
72-
""")
69+
raise AttributeError(
70+
"Both `comments_re` and `eol_comments_re` have been removed from parser configurations. " +
71+
"Please use `comments` and/or `eol_comments` instead`.",
72+
)
7373
del self.comments_re
7474
del self.eol_comments_re
7575

0 commit comments

Comments
 (0)