Objects/pyobject_apis/io

Source   Edit  

Types

PyPrintFlags {.pure.} = enum
  Py_PRINT_REPR = 0, Py_PRINT_RAW = 1
Source   Edit  

Procs

proc `&`(a`gensym1, b`gensym1: PyPrintFlags): bool {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc `&`[E](a`gensym1: IntFlag[E]; b`gensym1: PyPrintFlags): bool
Source   Edit  
proc PyObject_Println(op: PyObject; fp: fileio.File;
                      flags: IntFlag[PyPrintFlags] = Py_PRINT_REPR): PyBaseErrorObject {.
    ...raises: [], tags: [WriteIOEffect, RootEffect], forbids: [].}
variant of PyObject_Print that also appends an 'n' Source   Edit  
proc `|`(a`gensym1, b`gensym1: PyPrintFlags): IntFlag[PyPrintFlags] {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  

Converters

converter toIntFlag(x`gensym1: PyPrintFlags): IntFlag[PyPrintFlags] {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit