summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util/typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/util/typing.py')
-rw-r--r--lib/sqlalchemy/util/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/util/typing.py b/lib/sqlalchemy/util/typing.py
index dcbc15825..0c8e5a633 100644
--- a/lib/sqlalchemy/util/typing.py
+++ b/lib/sqlalchemy/util/typing.py
@@ -174,7 +174,7 @@ def eval_expression(expression: str, module_name: str) -> Any:
annotation = eval(expression, base_globals, None)
except Exception as err:
raise NameError(
- f"Could not de-stringify annotation {expression}"
+ f"Could not de-stringify annotation {expression!r}"
) from err
else:
return annotation