MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _PyInt_Format

Function _PyInt_Format

Objects/intobject.c:1191–1257  ·  view source on GitHub ↗

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 a leading "0" */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

int_octFunction · 0.85
int_hexFunction · 0.85
PyNumber_ToBaseFunction · 0.85
int_formatFunction · 0.85

Calls 2

int_to_decimal_stringFunction · 0.85

Tested by

no test coverage detected