MCPcopy Index your code
hub / github.com/ipython/ipython / _new_id

Function _new_id

IPython/core/display_functions.py:80–82  ·  view source on GitHub ↗

Generate a new random text id with urandom

()

Source from the content-addressed store, hash-verified

78
79
80def _new_id():
81 """Generate a new random text id with urandom"""
82 return b2a_hex(os.urandom(16)).decode('ascii')
83
84
85def display(

Callers 2

displayFunction · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…