We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30ee281 commit 8516669Copy full SHA for 8516669
panoramix.py
@@ -369,10 +369,10 @@ def dec():
369
key=lambda f: f.priority()
370
) # sort func list by length, with some caveats
371
372
- if shown_already and any(1 for f in func_list if f.hash not in shown_already):
373
- # otherwise no irregular functions, so this is not needed :)
374
- print(C.gray + "#\n# Regular functions\n#" + C.end + "\n")
375
-
+ if any(1 for f in func_list if f.hash not in shown_already):
+ if shown_already:
+ # otherwise no irregular functions, so this is not needed :)
+ print(C.gray + "#\n# Regular functions\n#" + C.end + "\n")
376
else:
377
print(
378
"\n"
0 commit comments