str.format
NOTE: only str in Python has format method, not bytes nor bytearray.
Procs
proc pyformatImplAux(s: string; args: seq[NimNode]; kw: Kw): NimNode {. ...raises: [ValueError, KeyError], tags: [], forbids: [].}
-
if -d:pylibUseFormatValue, use formatValue instead of format for formatting.
Convertion is not supported yet (like !r).
Source Edit