What is the Python naming convention, if any, for functions that return another function?
Function decorators are examples of functions that return functions. In the (linked) example section, there does not seem to be any standard naming convention used. I don't think that there is a convention. If you think there should be, you can always introduce a PEP. Although, there probably should not be a standard. Just name the function sensibly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With