_PyInt_Format

Convert an integer to the given base. Returns a string. If base is 2, 8 or 16, add the proper prefix '0b', '0o' or '0x'. If newstyle is zero, then use the pre-2.6 behavior of octal having Availability: >= 2.6 a leading "0"

version(!Python_3_0_Or_Later && Python_2_6_Or_Later)
extern (C)
_PyInt_Format

Meta