Skip to content

Commit 58b5391

Browse files
Print definitions in a sorted order
1 parent dab5922 commit 58b5391

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

contrib/process_definitions.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,14 @@ def find_all_definitions():
8585

8686
global GLOBAL_filenames
8787

88+
output = []
8889
for filename in sorted(GLOBAL_filenames):
8990
definitions = find_definitions(filename)
9091
for one in definitions:
91-
print(one + " => " + filename)
92+
output.append(one + " => " + filename)
93+
94+
for d in sorted(output):
95+
print(d)
9296

9397

9498
if __name__ == "__main__":

0 commit comments

Comments
 (0)