Skip to content

Commit

Permalink
Remove sorted dict usage
Browse files Browse the repository at this point in the history
Cosmetic-only.
  • Loading branch information
simaoafonso-pwt committed Nov 2, 2022
1 parent b05c0c7 commit be2eed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shtab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,8 @@ def recurse_parser(cparser, positional_idx, requirements=None):
'p/*/()/'""").safe_substitute(
preamble=("\n# Custom Preamble\n" + preamble +
"\n# End Custom Preamble\n" if preamble else ""), root_prefix=root_prefix,
prog=parser.prog, optionals_double_str=' '.join(sorted(optionals_double)),
optionals_single_str=' '.join(sorted(optionals_single)),
prog=parser.prog, optionals_double_str=' '.join(optionals_double),
optionals_single_str=' '.join(optionals_single),
optionals_special_str=' \\\n '.join(specials))


Expand Down

0 comments on commit be2eed3

Please sign in to comment.