Did I find the right examples for you? yes no

All Samples(44)  |  Call(42)  |  Derive(0)  |  Import(2)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/objspace/std/marshal_impl.py   plexnet(Download)
import longobject
 
from pypy.module.marshal.interp_marshal import register
 
TYPE_NULL      = '0'
def unmarshal_None(space, u, tc):
    return space.w_None
register(TYPE_NONE, unmarshal_None)
 
def marshal_w__Bool(space, w_bool, m):
    else:
        return space.w_False
register(TYPE_TRUE + TYPE_FALSE, unmarshal_Bool)
 
def marshal_w__Type(space, w_type, m):
def unmarshal_Type(space, u, tc):
    return space.w_StopIteration
register(TYPE_STOPITER, unmarshal_Type)
 
# not directly supported:
def unmarshal_Ellipsis(space, u, tc):
    return space.w_Ellipsis
register(TYPE_ELLIPSIS, unmarshal_Ellipsis)
 
def marshal_w__Int(space, w_int, m):

src/s/y/Sypy-HEAD/objspace/std/marshal_impl.py   Sypy(Download)
from pypy.objspace.std.unicodeobject import W_UnicodeObject
 
from pypy.module.marshal.interp_marshal import register
 
TYPE_NULL      = '0'
def unmarshal_None(space, u, tc):
    return space.w_None
register(TYPE_NONE, unmarshal_None)
 
def marshal_w__Bool(space, w_bool, m):
    else:
        return space.w_False
register(TYPE_TRUE + TYPE_FALSE, unmarshal_Bool)
 
def marshal_w__Type(space, w_type, m):
def unmarshal_Type(space, u, tc):
    return space.w_StopIteration
register(TYPE_STOPITER, unmarshal_Type)
 
# not directly supported:
def unmarshal_Ellipsis(space, u, tc):
    return space.w_Ellipsis
register(TYPE_ELLIPSIS, unmarshal_Ellipsis)
 
def marshal_w__Int(space, w_int, m):