code
stringlengths
3
6.57k
space.is_w(w_func_dict, space.w_None)
space.unpackiterable(w_defs_w)
fget_func_defaults(space, self)
space.newtuple(values_w[:])
fset_func_defaults(space, self, w_defaults)
space.is_w(w_defaults, space.w_None)
space.is_true( space.isinstance( w_defaults, space.w_tuple )
OperationError( space.w_TypeError, space.wrap("func_defaults must be set to a tuple object or None")
space.unpackiterable( w_defaults )
fdel_func_defaults(space, self)
fget_func_doc(space, self)
self.code.getdocstring(space)
fset_func_doc(space, self, w_doc)
fget_func_name(space, self)
space.wrap(self.name)
fset_func_name(space, self, w_name)
space.str_w(w_name)
e.match(space, space.w_TypeError)
fdel_func_doc(space, self)
fget___module__(space, self)
space.is_w(self.w_func_globals, space.w_None)
space.call_method( self.w_func_globals, "get", space.wrap("__name__")
fset___module__(space, self, w_module)
fdel___module__(space, self)
fget_func_code(space, self)
_currentframe_has_access(space, self.creator_nametoken)
space.wrap(self.code)
fset_func_code(space, self, w_code)
space.interp_w(Code, w_code)
len(self.closure)
isinstance(code, PyCode)
len(code.co_freevars)
OperationError(space.w_ValueError, space.wrap("%s()
len(code.co_freevars)
fget_func_closure(space, self)
_currentframe_has_access(space, self.creator_nametoken)
space.newtuple( [ space.wrap(i)
descr_function_get(space, w_function, w_obj, w_cls=None)
functionobject.__get__(obj[, type])
space.is_w(w_cls, space.w_None)
space.is_w(w_obj, space.w_None)
space.is_w(w_cls, space.type(space.w_None)
space.wrap(Method(space, w_function, w_obj, w_cls)
space.wrap(Method(space, w_function, None, w_cls)
Method(Wrappable)
__init__(self, space, w_function, w_instance, w_class)
descr_method__new__(space, w_subtype, w_function, w_instance, w_class=None)
space.is_w( w_instance, space.w_None )
space.allocate_instance(Method, w_subtype)
Method.__init__(method, space, w_function, w_instance, w_class)
space.wrap(method)
__repr__(self)
self.w_function.getname(self.space, '?')
call_args(self, args)
space.call_obj_args(self.w_function, self.w_instance, args)
args.firstarg()
space.abstract_isinstance_w(w_firstarg, self.w_class)
self.getname(space,"")
self.w_class.getname(space,"")
space.abstract_getclass(w_firstarg)
getname(space,"")
s()
argument (got %s instead)
space.wrap(msg)
space.call_args(self.w_function, args)
descr_method_get(self, w_obj, w_cls=None)
space.wrap(self)
space.is_w(w_cls, space.w_None)
space.abstract_issubclass_w(w_cls, self.w_class)
space.wrap(self)
descr_function_get(space, self.w_function, w_obj, w_cls)
descr_method_call(self, __args__)
self.call_args(__args__)
descr_method_repr(self)
self.w_function.getname(self.space, '?')
space.is_w(self.w_class, space.w_None)
space.type(self.w_instance)
w_class.getname(self.space, '?')
space.wrap(s)
space.str_w(space.repr(self.w_instance)
self.w_instance.getrepr(self.space, info)
descr_method_getattribute(self, w_attr)
space.str_w(w_attr)
space.wrap(self)
e.match(space, space.w_AttributeError)
space.getattr(self.w_function, w_attr)
descr_method_eq(self, w_other)
space.interpclass_w(w_other)
isinstance(other, Method)
space.eq_w(self.w_instance, other.w_instance)
space.eq(self.w_function, other.w_function)
descr_method_hash(self)
space.hash(self.w_function)
space.xor(w_result, space.hash(self.w_instance)
descr_method__reduce__(self, space)
space.getbuiltinmodule('_pickle_support')
space.interp_w(MixedModule, w_mod)
mod.get('method_new')
space.interpclass_w(self.w_function)
isinstance(function, Function)