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

Function lookdict_string

Objects/dictobject.c:407–457  ·  view source on GitHub ↗

* Hacked up version of lookdict which can assume keys are always strings; * this assumption allows testing for errors during PyObject_RichCompareBool() * to be dropped; string-string comparisons never raise exceptions. This also * means we don't need to go through PyObject_RichCompareBool(); we can always * use _PyString_Eq() directly. * * This is valuable because dicts with only string key

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

lookdictFunction · 0.85
_PyString_EqFunction · 0.85

Tested by

no test coverage detected