raise more generic Exception() instead of RuntimeError() #5281
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 8797ece..1e3cb85 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -503,7 +503,7 @@
:meth:`with_traceback` exception method (which returns the same exception
instance, with its traceback set to its argument), like so::
- raise RuntimeError("foo occurred").with_traceback(tracebackobj)
+ raise Exception("foo occurred").with_traceback(tracebackobj)
.. index:: pair: exception; chaining
__cause__ (exception attribute)