Skip to content

Commit fcd7cd5

Browse files
authored
Update error message
1 parent d3e590b commit fcd7cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symengine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def lambdify(args, exprs, **kwargs):
5959
def __getattr__(name):
6060
if name == 'lambdify':
6161
raise AttributeError("Cannot import numpy, which is required for `lambdify` to work")
62-
raise AttributeError
62+
raise AttributeError(f"module 'symengine' has no attribute '{name}'")
6363

6464
__version__ = "0.9.2"
6565

0 commit comments

Comments
 (0)