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

Function get_range_long_argument

Python/bltinmodule.c:1766–1792  ·  view source on GitHub ↗

Helper function for handle_range_longs. If arg is int or long object, returns it with incremented reference count. If arg is float, raises type error. As a last resort, creates a new int by calling arg type's nb_int method if it is defined. Returns NULL and sets exception on error. Returns a new reference to an int object. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

handle_range_longsFunction · 0.85

Calls 2

PyErr_FormatFunction · 0.85
PyErr_SetStringFunction · 0.85

Tested by

no test coverage detected