MCPcopy Index your code
hub / github.com/secdev/scapy / make_lined_table

Function make_lined_table

scapy/utils.py:3494–3505  ·  view source on GitHub ↗
(*args, **kargs)

Source from the content-addressed store, hash-verified

3492
3493
3494def make_lined_table(*args, **kargs):
3495 # type: (*Any, **Any) -> Optional[str]
3496 return __make_table( # type: ignore
3497 lambda l: "%%-%is |" % l,
3498 lambda l: "%%-%is |" % l,
3499 "",
3500 *args,
3501 seplinefunc=lambda a, x: "+".join(
3502 '-' * (y + 2) for y in [a - 1] + x + [-2]
3503 ),
3504 **kargs
3505 )
3506
3507
3508def make_tex_table(*args, **kargs):

Callers 5

make_lined_tableMethod · 0.90
show_testcases_statusMethod · 0.90
_show_statisticsMethod · 0.90

Calls 2

__make_tableFunction · 0.85
joinMethod · 0.80

Tested by 1