save method
save
Saves the syntax tree to the specified path.
def save(self, path):
...
Parameter | Type | Description |
---|---|---|
path | str | The string path. |
save
Saves the syntax tree to the specified stream.
def save(self, stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The stream. |