We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e0e1b commit 9e6380eCopy full SHA for 9e6380e
tatsu/infos.py
@@ -66,10 +66,10 @@ def __post_init__(self): # pylint: disable=W0235
66
self.keywords = [k.upper() for k in self.keywords]
67
68
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
- """)
+ raise AttributeError(
+ "Both `comments_re` and `eol_comments_re` have been removed from parser configurations. " +
+ "Please use `comments` and/or `eol_comments` instead`.",
+ )
73
del self.comments_re
74
del self.eol_comments_re
75
0 commit comments