diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-20 11:53:10 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-20 11:53:10 +0200 |
| commit | 4786783eef1708c19a25b69851047298986ef89c (patch) | |
| tree | d256634b78946721d7e8c757b55a2be6464c90c7 /def_NEWLINE.py | |
| parent | ec52b757b6290ad18c2842d7e784832a383bcd25 (diff) | |
declare complex diagram as keyword argument
Diffstat (limited to 'def_NEWLINE.py')
| -rwxr-xr-x | def_NEWLINE.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/def_NEWLINE.py b/def_NEWLINE.py index 5adbca6..2720bee 100755 --- a/def_NEWLINE.py +++ b/def_NEWLINE.py @@ -7,12 +7,11 @@ from os.path import basename, splitext from railroad import * Diagram( - Start("complex"), Choice(0, '\\r\\n', '\\n', '\\r', ), - End("complex") + type="complex" ).writeStandalone( open(splitext(basename(__file__))[0] + ".svg", "w").write) |
