Patch from Georg Brandl and me for #1493
Remove unbound method objects
diff --git a/Lib/DocXMLRPCServer.py b/Lib/DocXMLRPCServer.py
index 111e5f6..08e1f10 100644
--- a/Lib/DocXMLRPCServer.py
+++ b/Lib/DocXMLRPCServer.py
@@ -74,7 +74,7 @@
         title = '<a name="%s"><strong>%s</strong></a>' % (anchor, name)
 
         if inspect.ismethod(object):
-            args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
+            args, varargs, varkw, defaults = inspect.getargspec(object)
             # exclude the argument bound to the instance, it will be
             # confusing to the non-Python user
             argspec = inspect.formatargspec (