changeset 42:24d3a2ae7031 draft

arith_test: Return instead of print result
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 23 May 2019 20:01:15 +0200
parents 23a3dfc26014
children 2ff88b76c661
files pcombinators/arith_test.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pcombinators/arith_test.py	Thu May 23 19:58:43 2019 +0200
+++ b/pcombinators/arith_test.py	Thu May 23 20:01:15 2019 +0200
@@ -69,4 +69,4 @@
     if parsed is None:
         print('Parse error :(', st)
         return
-    print(pretty_print(parsed))
\ No newline at end of file
+    return pretty_print(parsed)
\ No newline at end of file