(partparse.py): Small change by Sjoerd to improve handle of X11 extension
documentation.
This commit is contained in:
parent
9c5dc29c3d
commit
acc8754031
|
@ -1054,7 +1054,7 @@ def do_funcdesc(length, buf, pp, i):
|
||||||
idxsi = hist.indexsubitem # words
|
idxsi = hist.indexsubitem # words
|
||||||
command = ''
|
command = ''
|
||||||
cat_class = ''
|
cat_class = ''
|
||||||
if idxsi and idxsi[-1] in ('method', 'protocol'):
|
if idxsi and idxsi[-1] in ('method', 'protocol', 'attribute'):
|
||||||
command = 'defmethod'
|
command = 'defmethod'
|
||||||
cat_class = string.join(idxsi[:-1])
|
cat_class = string.join(idxsi[:-1])
|
||||||
elif len(idxsi) == 2 and idxsi[1] == 'function':
|
elif len(idxsi) == 2 and idxsi[1] == 'function':
|
||||||
|
|
|
@ -1054,7 +1054,7 @@ def do_funcdesc(length, buf, pp, i):
|
||||||
idxsi = hist.indexsubitem # words
|
idxsi = hist.indexsubitem # words
|
||||||
command = ''
|
command = ''
|
||||||
cat_class = ''
|
cat_class = ''
|
||||||
if idxsi and idxsi[-1] in ('method', 'protocol'):
|
if idxsi and idxsi[-1] in ('method', 'protocol', 'attribute'):
|
||||||
command = 'defmethod'
|
command = 'defmethod'
|
||||||
cat_class = string.join(idxsi[:-1])
|
cat_class = string.join(idxsi[:-1])
|
||||||
elif len(idxsi) == 2 and idxsi[1] == 'function':
|
elif len(idxsi) == 2 and idxsi[1] == 'function':
|
||||||
|
|
Loading…
Reference in New Issue