ipython/ipython — pull request #4131 by rossant (2013-08-29 08:27:12+00:00)
Title: Add module's name argument in %%cython magic

This new option lets the user specify an explicit module name for its Cython cell rather than letting IPython generating a random name automatically. With this option, one can reuse a function defined in one %%cython cell magic in another %%cython cell magic, by doing an import of the module corresponding to the first cell magic.