Skip to content

Commit 04ace42

Browse files
committed
Switch to __repr__
1 parent aae0a8f commit 04ace42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boto3/dynamodb/conditions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __eq__(self, other):
6161
def __ne__(self, other):
6262
return not self.__eq__(other)
6363

64-
def __str__(self) -> str:
64+
def __repr__(self) -> str:
6565
format_str = EXPR_STR_FORMAT_REGEX.sub(
6666
r"{values[\1]}", self.expression_format
6767
)
@@ -142,7 +142,7 @@ def __eq__(self, other):
142142
def __ne__(self, other):
143143
return not self.__eq__(other)
144144

145-
def __str__(self) -> str:
145+
def __repr__(self) -> str:
146146
return self.name
147147

148148

0 commit comments

Comments
 (0)