summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRuilin Huang <cxghrl@gmail.com>2016-01-27 08:21:59 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2016-01-27 11:10:23 -0500
commit95d7d2365d7a4f61ac32a6bd5aa7a46a78caa129 (patch)
tree5118cd21ad54bf59511ba33ffe1644be9d116b26 /doc
parentf5bde23f68967d41f6a15eaf43ded109c054a846 (diff)
downloadsqlalchemy-95d7d2365d7a4f61ac32a6bd5aa7a46a78caa129.tar.gz
fix %x string format to compatible with Python 3.5
(cherry picked from commit 4b9f6f407ceedde247982501a6ae406242c80b4a)
Diffstat (limited to 'doc')
-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: