Explorar o código

Fixed typo utf8dict(self, tup) -> utf8dict(tup)

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
a65f04da1a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/task/http.py

+ 1 - 1
celery/task/http.py

@@ -32,7 +32,7 @@ def maybe_utf8(value):
     return value
 
 
-def utf8dict(self, tup):
+def utf8dict(tup):
     """With a dict's items() tuple return a new dict with any utf-8
     keys/values encoded."""
     return dict((key.encode("utf-8"), maybe_utf8(value))