From cf46af2bc260d094891a445773e97e3b65c710a4 Mon Sep 17 00:00:00 2001 From: wirawan Date: Wed, 31 Aug 2011 18:26:18 +0000 Subject: [PATCH] * Simple function rename: make_unbound_method -> make_unbound_instance_method. --- py/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/__init__.py b/py/__init__.py index 191e6da..000aeb3 100644 --- a/py/__init__.py +++ b/py/__init__.py @@ -1,4 +1,4 @@ -# $Id: __init__.py,v 1.1 2011-06-08 15:29:14 wirawan Exp $ +# $Id: __init__.py,v 1.2 2011-08-31 18:26:18 wirawan Exp $ # # wpylib.py module # Created: 20110608 @@ -11,7 +11,7 @@ import sys import new -def make_unbound_method(method): +def make_unbound_instance_method(method): """Generates an unbound instance method from a possibly bound instance method.""" return new.instancemethod(method.im_func, None, method.im_class)