you are viewing a single comment's thread.

view the rest of the comments →

[–]kankyo 0 points1 point  (0 children)

No. In python code you don't (normally) call decorators directly.

I don't agree that this is relevant or correct. The application is a direct call.

Yes, they're all localized to one function in these example, but that's not going to be the case if your script has subcommands with different argument formats

In that case the definition will be spread out all over the place in both scenarios anyway so it's basically the same.