summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/build/core/types.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/core/types.rst b/doc/build/core/types.rst
index ddb40d045..1910d9b7d 100644
--- a/doc/build/core/types.rst
+++ b/doc/build/core/types.rst
@@ -325,10 +325,10 @@ binary in CHAR(16) if desired::
return str(value)
else:
if not isinstance(value, uuid.UUID):
- return "%x" % uuid.UUID(value)
+ return "%.32x" % uuid.UUID(value)
else:
# hexstring
- return "%x" % value
+ return "%.32x" % value
def process_result_value(self, value, dialect):
if value is None: