_PyLong_Format

  1. PyObject* _PyLong_Format(PyObject* aa, int base)
  2. PyObject* _PyLong_Format(PyObject* aa, int base, int addL, int newstyle)
    version(!Python_3_0_Or_Later && Python_2_6_Or_Later)
    extern (C)
    _PyLong_Format
    (,
    int base
    ,
    int addL
    ,)

Detailed Description

PyLong Format

Convert the long to a string object with given base, appending a base prefix of 0box if base is 2, 8 or 16. Add a trailing "L" if addL is non-zero. If newstyle is zero, then use the pre-2.6 behavior of octal having a leading "0", instead of the prefix "0o"

Meta