Merge pull request #70 from J535D165/check-lib
Easy trick for users to check if they are using Python or C code
This commit is contained in:
commit
b645a98675
|
@ -1,4 +1,6 @@
|
||||||
try:
|
try:
|
||||||
from .cjellyfish import * # noqa
|
from .cjellyfish import * # noqa
|
||||||
|
library = "C"
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from ._jellyfish import * # noqa
|
from ._jellyfish import * # noqa
|
||||||
|
library = "Python"
|
||||||
|
|
Loading…
Reference in New Issue