diff options
author | xghrl <cxghrl@gmail.com> | 2016-01-27 08:10:06 +0000 |
---|---|---|
committer | xghrl <cxghrl@gmail.com> | 2016-01-27 08:10:06 +0000 |
commit | 324e532d6081d9b9ea90bf3945cecfc792264f8d (patch) | |
tree | 0b9b984d703539d9ef6579d2cb2bd7793d5a5439 | |
parent | 5742e321b261c0c1303835b80418cd3cdc1b5643 (diff) | |
download | sqlalchemy-324e532d6081d9b9ea90bf3945cecfc792264f8d.tar.gz |
fix %x string format to compatible with Python 3.5
-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 7fca1a537..22dd52050 100644 --- a/doc/build/core/custom_types.rst +++ b/doc/build/core/custom_types.rst @@ -153,7 +153,7 @@ binary in CHAR(16) if desired:: return str(value) else: if not isinstance(value, uuid.UUID): - return "%.32x" % uuid.UUID(value) + return "%.32x" % uuid.UUID(value).int else: # hexstring return "%.32x" % value |