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

Function _parse_format_specifier

Lib/decimal.py:5956–6038  ·  view source on GitHub ↗

Parse and validate a format specifier. Turns a standard numeric format specifier into a dict, with the following entries: fill: fill character to pad field to minimum width align: alignment type, either '<', '>', '=' or '^' sign: either '+', '-' or ' ' minimumwidth:

(format_spec, _localeconv=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__format__Method · 0.85

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected