Did I find the right examples for you? yes no

All Samples(12)  |  Call(6)  |  Derive(4)  |  Import(2)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/annotation/unaryop.py   plexnet(Download)
 
from types import MethodType
from pypy.annotation.model import \
     SomeObject, SomeInteger, SomeBool, SomeString, SomeChar, SomeList, \
     SomeDict, SomeTuple, SomeImpossibleValue, \
class __extend__(SomeExternalObject):
    def getattr(p, s_attr):
        if s_attr.is_constant() and isinstance(s_attr.const, str):
            attr = s_attr.const
            entry = extregistry.lookup_type(p.knowntype)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rlib/rgc.py   plexnet(Download)
    def compute_result_annotation(self, s_newpool):
        from pypy.annotation import model as annmodel
        return annmodel.SomeExternalObject(GcPool)
 
    def specialize_call(self, hop):
        from pypy.annotation import model as annmodel
        s_pool_ptr = annmodel.SomeExternalObject(GcPool)
            opname = 'same_as'
 
        s_pool_ptr = annmodel.SomeExternalObject(GcPool)
        r_pool_ptr = hop.rtyper.getrepr(s_pool_ptr)
        vlist = hop.inputargs(r_pool_ptr)
    def compute_result_annotation(self, s_gcobject, s_pool):
        from pypy.annotation import model as annmodel
        return annmodel.SomeTuple([s_gcobject,
                                   annmodel.SomeExternalObject(GcPool)])
 
            hop.exception_is_here()
            hop.gendirectcall(_raise)
            s_pool_ptr = annmodel.SomeExternalObject(GcPool)
            r_pool_ptr = hop.rtyper.getrepr(s_pool_ptr)
            r_tuple = hop.r_result

src/s/y/Sypy-HEAD/annotation/unaryop.py   Sypy(Download)
 
from types import MethodType
from pypy.annotation.model import \
     SomeObject, SomeInteger, SomeBool, SomeString, SomeChar, SomeList, \
     SomeDict, SomeTuple, SomeImpossibleValue, SomeUnicodeCodePoint, \
class __extend__(SomeExternalObject):
    def getattr(p, s_attr):
        if s_attr.is_constant() and isinstance(s_attr.const, str):
            attr = s_attr.const
            entry = extregistry.lookup_type(p.knowntype)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/rexternalobj.py   plexnet(Download)
class __extend__(annmodel.SomeExternalObject):
 
    def rtyper_makerepr(self, rtyper):
       # delegate to the get_repr() of the extregistrered Entry class
        entry = extregistry.lookup_type(self.knowntype)

src/s/y/Sypy-HEAD/rpython/rexternalobj.py   Sypy(Download)
class __extend__(annmodel.SomeExternalObject):
 
    def rtyper_makerepr(self, rtyper):
       # delegate to the get_repr() of the extregistrered Entry class
        entry = extregistry.lookup_type(self.knowntype)