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

Function _PyLong_Format

Objects/longobject.c:1454–1620  ·  view source on GitHub ↗

Convert the long to a string object with given base, appending a base prefix of 0[box] 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" */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

long_reprFunction · 0.85
long_strFunction · 0.85
long_octFunction · 0.85
long_hexFunction · 0.85
PyNumber_ToBaseFunction · 0.85
long_formatFunction · 0.85

Calls 7

long_to_decimal_stringFunction · 0.85
PyErr_BadInternalCallFunction · 0.85
PyErr_SetStringFunction · 0.85
_PyLong_NewFunction · 0.85
inplace_divrem1Function · 0.85
_PyString_ResizeFunction · 0.85

Tested by

no test coverage detected