Skip to content

Commit 9ed3c3e

Browse files
committed
Fix warning message
1 parent d920888 commit 9ed3c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pulp/pulp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ def to_dict(self) -> list[dict[str, Any]]:
10701070
:rtype: list
10711071
"""
10721072
warnings.warn(
1073-
"LpAffineExpression.to_dict is deprecated, use LpAffineExpression.toDataclass instead",
1073+
"LpAffineExpression.to_dict is deprecated, use LpAffineExpression.toDict instead",
10741074
category=DeprecationWarning,
10751075
)
10761076
return self.toDict()

0 commit comments

Comments
 (0)