summaryrefslogtreecommitdiffstats
path: root/Doc/tools/partparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools/partparse.py')
-rw-r--r--Doc/tools/partparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/partparse.py b/Doc/tools/partparse.py
index 81d559d..ea519b6 100644
--- a/Doc/tools/partparse.py
+++ b/Doc/tools/partparse.py
@@ -1054,7 +1054,7 @@ def do_funcdesc(length, buf, pp, i):
idxsi = hist.indexsubitem # words
command = ''
cat_class = ''
- if idxsi and idxsi[-1] in ('method', 'protocol'):
+ if idxsi and idxsi[-1] in ('method', 'protocol', 'attribute'):
command = 'defmethod'
cat_class = string.join(idxsi[:-1])
elif len(idxsi) == 2 and idxsi[1] == 'function':