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

Function split_len

spec/gen_spec/gen_spec.py:307–309  ·  view source on GitHub ↗

split string *s* into list of strings no longer than *length*

(s, length)

Source from the content-addressed store, hash-verified

305
306
307def split_len(s, length):
308 """split string *s* into list of strings no longer than *length*"""
309 return [s[i:i+length] for i in range(0, len(s), length)]
310
311
312def to_mixed_case(s):

Callers 1

render_descFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…