summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libgetopt.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libgetopt.tex')
-rw-r--r--Doc/lib/libgetopt.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libgetopt.tex b/Doc/lib/libgetopt.tex
index b38fcd8..7930acd 100644
--- a/Doc/lib/libgetopt.tex
+++ b/Doc/lib/libgetopt.tex
@@ -126,7 +126,7 @@ import getopt, sys
def main():
try:
opts, args = getopt.getopt(sys.argv[1:], "ho:v", ["help", "output="])
- except getopt.GetoptError, err:
+ except getopt.GetoptError as err:
# print help information and exit:
print str(err) # will print something like "option -a not recognized"
usage()