From 54969941c13ad21daa3c25962e970d08de5481e1 2017-09-02 20:31:27 From: Thomas Kluyver Date: 2017-09-02 20:31:27 Subject: [PATCH] Backport PR #10775: Correct Demo namespace in documentation The documentation used the old namespace for the Demo class. --- diff --git a/IPython/lib/demo.py b/IPython/lib/demo.py index 4db31aa..b0f3503 100644 --- a/IPython/lib/demo.py +++ b/IPython/lib/demo.py @@ -106,7 +106,7 @@ the execution. This is probably best explained with the simple example file below. You can copy this into a file named ex_demo.py, and try running it via:: - from IPython.demo import Demo + from IPython.lib.demo import Demo d = Demo('ex_demo.py') d()