diff --git a/doc/misc.rst b/doc/misc.rst
index dcaeb8fc889f1320a8a2fad677b6f2460591a362..f1fc8cc83cd29a508271066187526b59ca5aa7cb 100644
--- a/doc/misc.rst
+++ b/doc/misc.rst
@@ -31,7 +31,7 @@ PyOpenCL comes with IPython integration, which lets you seamlessly integrate
 PyOpenCL kernels into your IPython notebooks. Simply load the PyOpenCL 
 IPython extension using::
 
-    %%load_ext pyopencl.ipython
+    %load_ext pyopencl.ipython
 
 and then use the ``%%cl_kernel`` 'cell-magic' command. See `this notebook
 <http://nbviewer.ipython.org/urls/raw.githubusercontent.com/pyopencl/pyopencl/master/examples/ipython-demo.ipynb>`_