blob: f8c283a84f185eb547c4462f71b4685e70e9acf4 [file] [log] [blame]
Tor Norbye3a2425a2013-11-04 10:16:08 -08001def foo(name):
2 """
3 Convert a string like a variable name into a slightly more human-friendly
4 string with spaces and capitalized letters.
5
6 @type name: C{str}
7 @param name: The name to convert to a label. This must be a string
8 which could be used as a Python identifier. Strings which do not take
9 this form will result in unpredictable behavior.
10
11 @rtype: C{str}
12 """
13 print <the_ref>name