summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2016-04-11 13:36:05 -0700
committerAsk Solem <ask@celeryproject.org>2016-04-11 13:36:05 -0700
commit1b1aeaa7eab7b24c1034b7db302b42586ed3069e (patch)
tree38a402ba86e023fea478c26635e5d3c1f4be90d1
parent468ed9f97ac6e442a0b61303326047857d49b864 (diff)
downloadpy-amqp-1b1aeaa7eab7b24c1034b7db302b42586ed3069e.tar.gz
flakes
-rw-r--r--amqp/five.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/amqp/five.py b/amqp/five.py
index bf00b8b..631e5a4 100644
--- a/amqp/five.py
+++ b/amqp/five.py
@@ -263,7 +263,6 @@ class WhateverIO(StringIO):
_SIO_write(self, data.decode() if isinstance(data, bytes) else data)
-
def python_2_unicode_compatible(cls):
"""A decorator that defines __unicode__ and __str__ methods under Python 2.
Under Python 3 it does nothing.