MCPcopy
hub / github.com/csev/py4e / list

Function list

code/gmane/Chart.bundle.js:4355–4373  ·  view source on GitHub ↗
(format, index, field, count, setter)

Source from the content-addressed store, hash-verified

4353 }
4354
4355 function list (format, index, field, count, setter) {
4356 if (typeof format === 'number') {
4357 index = format;
4358 format = undefined;
4359 }
4360
4361 format = format || '';
4362
4363 if (index != null) {
4364 return lists__get(format, index, field, setter);
4365 }
4366
4367 var i;
4368 var out = [];
4369 for (i = 0; i < count; i++) {
4370 out[i] = lists__get(format, i, field, setter);
4371 }
4372 return out;
4373 }
4374
4375 function lists__listMonths (format, index) {
4376 return list(format, index, 'months', 12, 'month');

Callers 15

wikigrade.pyFile · 0.85
txtcheck3.pyFile · 0.85
count3.pyFile · 0.85
replaceWithChildrenMethod · 0.85
avelist.pyFile · 0.85
wordlist.pyFile · 0.85
wsave.pyFile · 0.85
re14.pyFile · 0.85
txtcheck2.pyFile · 0.85
txtcheck.pyFile · 0.85
txtdelete.pyFile · 0.85
urlforever.pyFile · 0.85

Calls 1

lists__getFunction · 0.85