In January 2021 we will introduce a 10 GB quota for project repositories. Higher limits for individual projects will be available on request. Please see https://doku.lrz.de/display/PUBLIC/GitLab for more information.

Commit acc52924 authored by di68kap's avatar di68kap

- DHParser/syntaxtree.py: doc-strings adjusted, TODO added

parent 15ad2819
......@@ -410,9 +410,9 @@ class Node(collections.abc.Sized):
@property
def content(self) -> str:
"""
Returns content as string, inserting error messages where
errors occurred.
Returns content as string, omitting error messages.
"""
# TODO: Optimize with caching and StringViews
if self.children:
return "".join(child.content for child in self.children)
return cast(str, self._result)
......
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