Commit 98fc3fa7 authored by di68kap's avatar di68kap
Browse files

- removed syntaxtree.content-setter() for consistency: Use node.result = ... instead

parent 2544e15b
...@@ -354,11 +354,11 @@ class Node: # (collections.abc.Sized): Base class omitted for cython-compatibil ...@@ -354,11 +354,11 @@ class Node: # (collections.abc.Sized): Base class omitted for cython-compatibil
self._content = str(self._result) self._content = str(self._result)
self._result = self._content # self._result might be more efficient as a string!? self._result = self._content # self._result might be more efficient as a string!?
return self._content return self._content
#
#
@content.setter # @content.setter
def content(self, content: str): # def content(self, content: str):
self.result = content # self.result = content
@property @property
......
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