MCPcopy Create free account
hub / github.com/ElementsProject/lightning / fmt_propname

Function fmt_propname

tools/fromschema.py:125–127  ·  view source on GitHub ↗

Pretty-print format a property name

(propname)

Source from the content-addressed store, hash-verified

123
124
125def fmt_propname(propname):
126 """Pretty-print format a property name"""
127 return '**{}**'.format(esc_underscores(propname))
128
129
130def fmt_paramname(paramname, is_optional=True, trailing_space=True):

Callers 4

output_memberFunction · 0.85
output_membersFunction · 0.85
generate_headerFunction · 0.85
generate_return_valueFunction · 0.85

Calls 1

esc_underscoresFunction · 0.85

Tested by

no test coverage detected