forked from cython/cython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
from Cython.Shadow import __version__ | ||
from __future__ import absolute_import | ||
|
||
from .Shadow import __version__ | ||
|
||
# Void cython.* directives (for case insensitive operating systems). | ||
from Cython.Shadow import * | ||
from .Shadow import * | ||
|
||
|
||
def load_ipython_extension(ip): | ||
"""Load the extension in IPython.""" | ||
from Cython.Build.IpythonMagic import CythonMagics # pylint: disable=cyclic-import | ||
from .Build.IpythonMagic import CythonMagics # pylint: disable=cyclic-import | ||
ip.register_magics(CythonMagics) |