summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/manual.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index f80b03369..a99c4b5af 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -4462,10 +4462,8 @@ Example:
       echo "sum: " & $(parseInt(a) + parseInt(b))
     except OverflowDefect:
       echo "overflow!"
-    except ValueError:
-      echo "could not convert string to integer"
-    except IOError:
-      echo "IO error!"
+    except ValueError, IOError:
+      echo "catch multiple exceptions!"
     except:
       echo "Unknown exception!"
     finally: