Does Python have a naming convention for variables that are functions? I couldn't see anything specific for this in PEP-8 (other than naming variables).
Since functions are first-class objects in Python, is using a _fn suffix, or something similar, a recognized convention?
EDIT: Updated with more realistic example
Example:
def foo_a():
print 'a'
def foo_b():
print 'b'
funcs = {'a': foo_a, 'b': foo_b}
# dynamically select function based on some key
key = 'a'
foo_fn = funcs[key]
foodirectly?foois also a "variable" (I think the term "name" is more appropriate) here, so it really does not matter if you assign or define.