| Tor Norbye | 3a2425a | 2013-11-04 10:16:08 -0800 | [diff] [blame] | 1 | def 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 | ||||