str.format
NOTE: only str in Python has format method, not bytes nor bytearray.
Procs
proc pyformatImplAux(s: string; args: openArray[Any]; kw: GetitemableOfK[string]): string
- Source Edit
proc pyformatImplAux(s: string; args: openArray[NimNode]; kw: Kw): NimNode {. ...raises: [ValueError, KeyError], tags: [], forbids: [].}
- Source Edit
Macros
macro pyformatMap(s: string; map: GetitemableOfK[string]): string
- Source Edit
Templates
template pyformatMap(s: static string; map: GetitemableOfK[string]): string
- Source Edit