Commit e9527639 authored by di68kap's avatar di68kap
Browse files

- weitere Regeln eingebaut

parent d0e0a4d9
...@@ -400,7 +400,7 @@ def is_anonymous(context: List[Node]) -> bool: ...@@ -400,7 +400,7 @@ def is_anonymous(context: List[Node]) -> bool:
def is_whitespace(context: List[Node]) -> bool: def is_whitespace(context: List[Node]) -> bool:
"""Removes whitespace and comments defined with the """Returns ``True`` for whitespace and comments defined with the
``@comment``-directive.""" ``@comment``-directive."""
return context[-1].parser.ptype == WHITESPACE_PTYPE return context[-1].parser.ptype == WHITESPACE_PTYPE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment