diff options
author | Ruilin Huang <cxghrl@gmail.com> | 2016-01-27 08:21:59 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-01-27 11:10:37 -0500 |
commit | d5002e1c579cf35487862032f70a9eb420006216 (patch) | |
tree | 7dc87d98ca6a81af921a4a5b241168483d892948 | |
parent | 8d0c8f003bd0faab92de3bcc9bea3e9c3455d918 (diff) | |
download | sqlalchemy-d5002e1c579cf35487862032f70a9eb420006216.tar.gz |
fix %x string format to compatible with Python 3.5
(cherry picked from commit 4b9f6f407ceedde247982501a6ae406242c80b4a)
-rw-r--r-- | doc/build/core/custom_types.rst | 2 |
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: |