OSDN Git Service

Indent with tabs.
authorSimon Forman <sforman@hushmail.com>
Tue, 28 Apr 2020 22:28:58 +0000 (15:28 -0700)
committerSimon Forman <sforman@hushmail.com>
Tue, 28 Apr 2020 22:28:58 +0000 (15:28 -0700)
docs/notebook_preamble.py

index a613ad5..bd1e220 100644 (file)
@@ -29,20 +29,20 @@ S = ()
 
 
 def J(text, stack=S, dictionary=D):
-    print stack_to_string(run(text, stack, dictionary)[0])
+       print stack_to_string(run(text, stack, dictionary)[0])
 
 
 def V(text, stack=S, dictionary=D):
-    tp = TracePrinter()
-    try:
-        run(text, stack, dictionary, tp.viewer)
-    except:
-        exc = format_exc()
-        tp.print_()
-        print '-' * 73
-        print exc
-    else:
-        tp.print_()
+       tp = TracePrinter()
+       try:
+               run(text, stack, dictionary, tp.viewer)
+       except:
+               exc = format_exc()
+               tp.print_()
+               print '-' * 73
+               print exc
+       else:
+               tp.print_()
 
 
 define = lambda text: DefinitionWrapper.add_def(text, D)