summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-25 09:39:14 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-25 09:39:14 (GMT)
commit4a22b5dee77b6a3439e4a09362586c390bbdef02 (patch)
tree670472c02e788fe4d027f7967fbbd8253e18cb5f /Lib/xml
parent91c77301bf0246deabcdcd80bc7bedb169e2f964 (diff)
downloadcpython-4a22b5dee77b6a3439e4a09362586c390bbdef02.zip
cpython-4a22b5dee77b6a3439e4a09362586c390bbdef02.tar.gz
cpython-4a22b5dee77b6a3439e4a09362586c390bbdef02.tar.bz2
Patch from Georg Brandl and me for #1493
Remove unbound method objects
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/minicompat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/minicompat.py b/Lib/xml/dom/minicompat.py
index c0a797e..2e6cc7e 100644
--- a/Lib/xml/dom/minicompat.py
+++ b/Lib/xml/dom/minicompat.py
@@ -95,7 +95,7 @@ class EmptyNodeList(tuple):
def defproperty(klass, name, doc):
- get = getattr(klass, ("_get_" + name)).im_func
+ get = getattr(klass, ("_get_" + name))
def set(self, value, name=name):
raise xml.dom.NoModificationAllowedErr(
"attempt to modify read-only attribute " + repr(name))