Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def type_and_adr(obj):
    if hasattr(obj, '_p_oid'):
        oid = oid_repr(obj._p_oid)
    else:
        oid = 'None'
    return "%s (0x%x oid=%s)" % (type(obj).__name__, positive_id(obj), oid)
        


src/b/t/BTrees-4.0.8/BTrees/tests/test_check.py   BTrees(Download)
    def _callFUT(self, obj):
        from BTrees.check import type_and_adr
        return type_and_adr(obj)
 
    def test_type_and_adr_w_oid(self):