MCPcopy Create free account
hub / github.com/scanny/python-pptx / render_adj_vals

Function render_adj_vals

spec/gen_spec/gen_spec.py:226–238  ·  view source on GitHub ↗
(adj_vals)

Source from the content-addressed store, hash-verified

224
225
226def render_adj_vals(adj_vals):
227 # calculate adj_vals string, possibly multi-line ---
228 if adj_vals:
229 lines = []
230 for av in adj_vals:
231 indent = ' ' * 12
232 line = "%s('%s', %d)," % (indent, av.name, av.val)
233 lines.append(line)
234 lines_str = '\n'.join(lines)
235 out = '(\n%s\n )' % lines_str
236 else:
237 out = '()'
238 return out
239
240
241def render_desc(desc):

Callers 1

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…