Browse Source

fun_of_method moved to __compat__

Ask Solem 13 years ago
parent
commit
22f05de36f
1 changed files with 0 additions and 10 deletions
  1. 0 10
      celery/utils/compat.py

+ 0 - 10
celery/utils/compat.py

@@ -47,16 +47,6 @@ else:
     BytesIO = WhateverIO = StringIO     # noqa
 
 
-# im_func is no longer available in Py3.
-# instead the unbound method itself can be used.
-if is_py3k:
-    def fun_of_method(method):
-        return method
-else:
-    def fun_of_method(method):  # noqa
-        return method.im_func
-
-
 ############## collections.OrderedDict ######################################
 try:
     from collections import OrderedDict