summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/sagetex/example.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-10-17 03:01:01 +0000
committerNorbert Preining <norbert@preining.info>2020-10-17 03:01:01 +0000
commit683b627ec089f4ddb05f06b1e93ee368189f78a4 (patch)
tree7a6ef1c8a2545a0d181cb890cc8611610263b8f5 /macros/latex/contrib/sagetex/example.tex
parentd8395db550c4f6044f0f3586bbc5263f06444598 (diff)
CTAN sync 202010170301
Diffstat (limited to 'macros/latex/contrib/sagetex/example.tex')
-rw-r--r--macros/latex/contrib/sagetex/example.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/latex/contrib/sagetex/example.tex b/macros/latex/contrib/sagetex/example.tex
index 2c04afdd02..415092dfdf 100644
--- a/macros/latex/contrib/sagetex/example.tex
+++ b/macros/latex/contrib/sagetex/example.tex
@@ -487,7 +487,7 @@ will evaluate functions and write the results into a file:
for t in tvals:
try:
lines.append('{0} {1} i'.format(fmt(x(t)), fmt(y(t))))
- except ValueError, ZeroDivisonError:
+ except (ValueError, ZeroDivisonError):
pass
with open(fn, 'w') as f:
f.write('\n'.join(lines) + '\n')