diff options
Diffstat (limited to 'Doc/tools/undoc_symbols.py')
-rw-r--r-- | Doc/tools/undoc_symbols.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/tools/undoc_symbols.py b/Doc/tools/undoc_symbols.py index 782ab6c..14cb941 100644 --- a/Doc/tools/undoc_symbols.py +++ b/Doc/tools/undoc_symbols.py @@ -80,11 +80,10 @@ def print_undoc_symbols(prefix, docdir, incdir): fp = os.popen("ctags -IPyAPI_FUNC -IPy_GCC_ATTRIBUTE --c-types=%s -f - %s" % (TAG_KINDS, incfiles)) dict = findnames(fp, prefix) - names = dict.keys() - names.sort() + names = sorted(dict.keys()) for name in names: if not re.search("%s\\W" % name, docs): - print dict[name], name + print(dict[name], name) if __name__ == '__main__': srcdir = os.path.dirname(sys.argv[0]) |