代码搜索:self

找到约 10,000 项符合「self」的源代码

代码结果 10,000
www.eeworm.com/read/239567/4597813

py testextractmethod9.py

class A(B, C): def test(self): print "Initializing A" anAttribute = "hello" def myMethod(self): print self.anAttribute a = A() a.test(
www.eeworm.com/read/239567/4597820

py testextractmethod5.py

class A: def test(self): a = 5 var = a * a print var def myMethod(self): print self.anAttribute a = A() a.test() ##c selectio
www.eeworm.com/read/239567/4597822

py testextractmethod4.py

class A: def test(self): a = 5 var = a * a print var def myMethod(self): print self.anAttribute a = A() a.test() ##c '''
www.eeworm.com/read/438717/1823237

object_tp_dealloc

static void $abbrev$_dealloc(self) $abbrev$object *self; { /* XXXX Add your own cleanup code here */ PyMem_DEL(self); }
www.eeworm.com/read/438717/1823241

object_tp_repr

static PyObject * $abbrev$_repr(self) $abbrev$object *self; { PyObject *s; /* XXXX Add code here to put self into s */ return s; }
www.eeworm.com/read/438717/1823252

object_tp_str

static PyObject * $abbrev$_str(self) $abbrev$object *self; { PyObject *s; /* XXXX Add code here to put self into s */ return s; }
www.eeworm.com/read/239567/4598474

py load.py

from bike.globals import * import os from bike.parsing.fastparser import fastparser class Cache: def __init__(self): self.reset() def reset(self): self.srcnodecache =
www.eeworm.com/read/193974/5138189

py test_sgmllib.py

import pprint import sgmllib import test_support import unittest class EventCollector(sgmllib.SGMLParser): def __init__(self): self.events = [] self.append = self.events.append
www.eeworm.com/read/302839/3822243

py benchmarks.py

from SysPaths import * class SysConfig: def __init__(self, script=None, mem=None, disk=None): self.scriptname = script self.diskname = disk self.memsize = mem def scr
www.eeworm.com/read/296064/3908170

py xmlwrapper.py

from xml.dom import minidom class XMLSubWrapper(object): def __init__(self, iterobj, object): self._iterobj = iterobj self.object = object def __iter__(self, *ar, **kw):