src/intobject/ops_strformat

Source   Edit  

Types

IntObjectFormatOverflowError = object of CatchableError
raised when formatValue for IntObject, and OverflowError would be raised in Python Source   Edit  

Procs

proc formatValue(res: var string; self: IntObject;
                 format_spec: static[string] = "")
Source   Edit  
proc formatValue(res: var string; self: IntObject; format_spec: string) {.
    ...raises: [ValueError, IntObjectFormatOverflowError], tags: [], forbids: [].}
Source   Edit  

Templates

template private_gen_formatValue_impl(runeMapper, floatMapper;
                                      selfToIntObjectMapper: untyped = asIs;
                                      bodyWrapper: untyped = asIs) {.dirty.}
private. inner. unstable. Source   Edit