MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _insert_thousands_sep

Function _insert_thousands_sep

Lib/decimal.py:6096–6131  ·  view source on GitHub ↗

Insert thousands separators into a digit string. spec is a dictionary whose keys should include 'thousands_sep' and 'grouping'; typically it's the result of parsing the format specifier using _parse_format_specifier. The min_width keyword argument gives the minimum length of the

(digits, spec, min_width=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_format_numberFunction · 0.85

Calls 3

_group_lengthsFunction · 0.85
appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected