summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuilin Huang <cxghrl@gmail.com>2016-01-27 08:21:59 +0000
committerRuilin Huang <cxghrl@gmail.com>2016-01-27 08:21:59 +0000
commit4b9f6f407ceedde247982501a6ae406242c80b4a (patch)
tree2cadd13afdb62c0ad78e31c3964032b9cc7f6c22
parent324e532d6081d9b9ea90bf3945cecfc792264f8d (diff)
downloadsqlalchemy-4b9f6f407ceedde247982501a6ae406242c80b4a.tar.gz
fix %x string format to compatible with Python 3.5
-rw-r--r--doc/build/core/custom_types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/core/custom_types.rst b/doc/build/core/custom_types.rst
index 22dd52050..f3a3b2bd0 100644
--- a/doc/build/core/custom_types.rst
+++ b/doc/build/core/custom_types.rst
@@ -156,7 +156,7 @@ binary in CHAR(16) if desired::
return "%.32x" % uuid.UUID(value).int
else:
# hexstring
- return "%.32x" % value
+ return "%.32x" % value.int
def process_result_value(self, value, dialect):
if value is None: