Objects/interpolationobject

Source   Edit  

Types

PyInterpolationObject = ref object of PyObject
  value*: PyObject
  expression*: PyObject
  conversion*: PyObject
  format_spec*: PyObject
Source   Edit  

Lets

pyInterpolationObjectType {.inject.} = newBltinPyType("interpolation",
    pyObjectType)
Source   Edit  

Procs

proc newPyInterpolation(value, str: PyObject; conversion: int;
                        format_spec: PyObject): PyObject {....raises: [],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyInterpolation(value, str: PyObject; conversion: PyFormatValueCode;
                        format_spec: PyObject): PyInterpolationObject {.
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyInterpolationObjectMagic(args: openArray[PyObject] = @[];
                                   kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc newPyInterpolationSimple(): PyInterpolationObject {.cdecl, ...raises: [],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc ofExactPyInterpolationObject(obj`gensym0: PyObject): bool {.cdecl, inline,
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc ofPyInterpolationObject(obj`gensym0: PyObject): bool {.cdecl, inline,
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc reprPyInterpolationObjectMagic(selfNoCast: PyObject): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit