| 1 | from .gmpy2 import * |
| 2 | from .gmpy2 import __version__ |
| 3 | # Internal variables/functions are not imported by * above. |
| 4 | # These are used by some python level functions and are needed |
| 5 | # at the top level. |
| 6 | # Use try...except to for static builds were _C_API is not available. |
| 7 | try: |
| 8 | from .gmpy2 import _C_API, _mpmath_normalize, _mpmath_create |
| 9 | except ImportError: |
| 10 | from .gmpy2 import _mpmath_normalize, _mpmath_create |