summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-04-11 20:12:25 -0400
committerGitHub <noreply@github.com>2018-04-11 20:12:25 -0400
commit0b984829be4b06ddd565cda2d8c1fd99bce540c1 (patch)
tree6bb63cd862b9b587ecf1284e25be9ee53e717d9a /python/clidef.py
parentcdbd64bd5c72324d7d80866c607a3fb3df57e6c2 (diff)
parentd3c2e3167500d1b2ba8d3356b099e235bb781d5a (diff)
Merge pull request #1989 from qlyoung/defpy-hidden
lib, python: DEFPY_ATTR, DEFPY_HIDDEN
Diffstat (limited to 'python/clidef.py')
-rw-r--r--python/clidef.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/clidef.py b/python/clidef.py
index fe01a89162..2e55909647 100644
--- a/python/clidef.py
+++ b/python/clidef.py
@@ -186,7 +186,7 @@ def process_file(fn, ofd, dumpfd, all_defun):
filedata = clippy.parse(fn)
for entry in filedata['data']:
- if entry['type'] == 'DEFPY' or (all_defun and entry['type'].startswith('DEFUN')):
+ if entry['type'].startswith('DEFPY') or (all_defun and entry['type'].startswith('DEFUN')):
cmddef = entry['args'][2]
cmddef = ''.join([i[1:-1] for i in cmddef])