Skip to content

Commit c2457d5

Browse files
committed
fix indentation
1 parent 85fb4cf commit c2457d5

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

mathics/builtin/control.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -753,16 +753,15 @@ class Catch(Builtin):
753753
"""
754754

755755
def apply1(self, expr, evaluation):
756-
'Catch[expr_]'
756+
'Catch[expr_]'
757757
try:
758758
ret = expr.evaluate(evaluation)
759759
except WLThrowInterrupt as e:
760760
return e.value
761761
return ret
762-
763-
762+
764763
def apply3(self, expr, form, f, evaluation):
765-
'Catch[expr_, form_, f__:Identity]'
764+
'Catch[expr_, form_, f__:Identity]'
766765
try:
767766
ret = expr.evaluate(evaluation)
768767
except WLThrowInterrupt as e:
@@ -772,7 +771,6 @@ def apply3(self, expr, form, f, evaluation):
772771
return ret
773772

774773

775-
776774
class Throw(Builtin):
777775
"""
778776
<dl>
@@ -795,11 +793,11 @@ class Throw(Builtin):
795793
messages = {'nocatch': 'Uncaught `1` returned to top level.', }
796794

797795
def apply1(self, value, evaluation):
798-
'Throw[value_]'
796+
'Throw[value_]'
799797
raise WLThrowInterrupt(value)
800798

801799
def apply2(self, value, tag, evaluation):
802-
'Throw[value_, tag_]'
800+
'Throw[value_, tag_]'
803801
raise WLThrowInterrupt(value, tag)
804802

805803

0 commit comments

Comments
 (0)