def foo(name): """ Convert a string like a variable name into a slightly more human-friendly string with spaces and capitalized letters. :type name: C{str} :param name: The name to convert to a label. This must be a string which could be used as a Python identifier. Strings which do not take this form will result in unpredictable behavior. :rtype: C{str} """ print name