> No. a.append is a "bound method" - a method that already has an > associated instance, that will be provided as the first argument to the > method call. Bound methods are created "on the fly". >
Does this means there is no method to get the original methods from the Bound methods created "on the fly"? I installed python 2.4.4 and tried id(list.append.__doc__) again, here is the result, only id(list.append.__doc__) changes, this is strange, and only happened in the command line. Because I am doing something program that use this id in the command line. Can someone help me try this on your PC, I want to know which is the problem: this version of python, or my PC. Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> id(list.__doc__) 11674984 >>> id(list.__doc__) 11674984 >>> id(list.__doc__) 11674984 >>> id(list.append.__doc__) 11747168 >>> id(list.append.__doc__) 11824352 >>> id(list.append.__doc__) 11747168 >>> id(list.append.__doc__) 11824352 >>> id(list.append.__doc__) 11747168 >>> id(list.append.__doc__) 11824352 >>> id(list.count.__doc__) 11863968 >>> id(list.count.__doc__) 11863968 >>> id(list.count.__doc__) 11863968 >>> id(list.count.__doc__) 11863968 -- http://mail.python.org/mailman/listinfo/python-list