mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
(cherry picked from commit d4a90a8da56ca889cf380aa5bc72ac82b0716abc) IJ-CR-148150 GitOrigin-RevId: 235a0e447d84c96e9963235615b07a1caf371e74
14 lines
425 B
Python
14 lines
425 B
Python
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 <the_ref>name
|