My previous post notwithstanding, you could also use the inspect class, available since Python v2.1: http://docs.python.org/library/inspect.html . I believe isfunction is what you want.
-- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.