def _funky_classmethod(name, b, c, d, docstring=None):
 def template(cls, a, b, c, d=4, e=5, f=6):
  return (a, b, c, d, e, f)
 if (sys.version_info >= (2, 5)):
  from functools import partial
  function = partial(template, b=b, c=c, d=d)
 else:
  def function(cls, a, e=5, f=6):
   return template(a, b, c, d, e, f)
 function.__name__ = name
 function.__doc__ = docstring
 return classmethod(function)

def _funky_classmethod ( name , b , c , d , docstring = None ) : def template ( cls , a , b , c , d = 4 , e = 5 , f = 6 ) : return ( a , b , c , d , e , f ) if ( sys . version_info >= ( 2 , 5 ) ) : from functools import partial function = partial ( template , b = b , c = c , d = d ) else : def function ( cls , a , e = 5 , f = 6 ) : return template ( a , b , c , d , e , f ) function . __name__ = name function . __doc__ = docstring return classmethod ( function )
generates a classmethod for a class from a template by filling out some arguments .