Refs #29654 -- Replaced three dots with ellipsis character in output strings.

This commit is contained in:
Claude Paroz 2018-08-22 15:13:58 +02:00 committed by Tim Graham
parent 233c70f047
commit 50b8493581
23 changed files with 60 additions and 60 deletions

View file

@ -244,7 +244,7 @@ class QuerySet:
def __repr__(self):
data = list(self[:REPR_OUTPUT_SIZE + 1])
if len(data) > REPR_OUTPUT_SIZE:
data[-1] = "...(remaining elements truncated)..."
data[-1] = "…(remaining elements truncated)…"
return '<%s %r>' % (self.__class__.__name__, data)
def __len__(self):