Objects/stringobject/fstring

Source   Edit  

Procs

proc DUformatDUPystrObjectMethod(selfNoCast: PyObject;
                                 args: openArray[PyObject] = @[];
                                 kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc formatValue(res: var string; self: PyStrObject;
                 format_spec: static[string] = "") {.
    ...raises: [FormatPyObjectError].}
Source   Edit  
proc formatValue(res: var string; self: PyStrObject; format_spec: string) {.
    ...raises: [FormatPyObjectError], tags: [RootEffect], forbids: [].}
Source   Edit  

Templates

template bindFormatValue(T, selfToNimType) {.dirty.}
Source   Edit  
template genFormat(T) {.dirty.}
Source   Edit  
template handleValueErrorAsPyFormatExc(body)
Source   Edit  
template implFormatValue(T, impl) {.dirty.}
Source   Edit