synt.file
¤
File
¤
Abstract file containing arbitrary python code.
Examples:
Source code in synt/file.py
__init__
¤
Initialize a file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
statements |
Statement
|
Statements to include in the file. |
()
|
into_str
¤
Convert the file into a string.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
indent_width |
int
|
number of |
0
|
indent_atom |
str
|
string to use for indentation. E.g. |
' '
|