From: Doctor Date: Thu, 28 Apr 2022 05:02:45 +0000 (+0300) Subject: fix `__repr__` on second `Point` class X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d12eadfa4c528ecb94beac01d61b03091fea779;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix `__repr__` on second `Point` class --- diff --git a/doc/build/orm/composites.rst b/doc/build/orm/composites.rst index b2fffce7c3..56f48b00bf 100644 --- a/doc/build/orm/composites.rst +++ b/doc/build/orm/composites.rst @@ -177,7 +177,7 @@ itself be a composite object, which is then mapped to a class ``HasVertex``:: return self.x, self.y def __repr__(self): - return f"Point(x={self.x}, y={self.y})" + return f"Point(x={self.x!r}, y={self.y!r})" def __eq__(self, other): return (