Python naming convention for functions returning functions

coding-style, naming-conventions, python

Solution

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.

Problem

What is the Python naming convention, if any, for functions that return another function?

Original source