代码搜索:self
找到约 10,000 项符合「self」的源代码
代码结果 10,000
www.eeworm.com/read/302839/3822507
py output.py
from chart import ChartOptions
class StatOutput(ChartOptions):
def __init__(self, jobfile, info, stat=None):
super(StatOutput, self).__init__()
self.jobfile = jobfile
self
www.eeworm.com/read/438717/1823282
py rubber-line-demo-1.py
from Tkinter import *
class Test(Frame):
def printit(self):
print "hi"
def createWidgets(self):
self.QUIT = Button(self, text='QUIT',
background='red',
foreground='white',
www.eeworm.com/read/438717/1823304
py rubber-band-box-demo-1.py
from Tkinter import *
class Test(Frame):
def printit(self):
print "hi"
def createWidgets(self):
self.QUIT = Button(self, text='QUIT',
background='red',
foreground='white',
www.eeworm.com/read/411228/2190515
py guicommon.py
#
# GUI Common Class definitions
#
from Common import *
class GUICommon:
def turnon(self):
self.status = STATUS_ON
if not self.blink: self.update()
def turnof
www.eeworm.com/read/411228/2190918
py guicommon.py
#
# GUI Common Class definitions
#
from Common import *
class GUICommon:
def turnon(self):
self.status = STATUS_ON
if not self.blink: self.update()
def turnoff(
www.eeworm.com/read/259602/4342324
pm asterisk.pm
package Asterisk;
require 5.004;
$VERSION = '0.08';
sub version { $VERSION; }
sub new {
my ($class, %args) = @_;
my $self = {};
$self->{configfile} = undef;
$self->{config} = {};
bless $self,
www.eeworm.com/read/365329/9869380
dc circle.dc
% Circle ctor {
struct Circle * self = super_ctor(Circle, _self, app);
self -> rad = va_arg(* app, int);
return self;
}
% Circle draw {
%casts
printf("circle at %d,%d rad %d\n",
x(self), y(se
www.eeworm.com/read/365329/9869443
dc circle.dc
% Circle ctor {
struct Circle * self = super_ctor(Circle, _self, app);
self -> rad = va_arg(* app, int);
return self;
}
% Circle draw {
%casts
printf("circle at %d,%d rad %d\n",
x(self), y(se
www.eeworm.com/read/239567/4598480
py visitor.py
from __future__ import generators
class TreeWalker(object):
VERBOSE = 0
def __init__(self):
self.node = None
self._cache = {}
def default(self, node, *args):
www.eeworm.com/read/338546/3315330
g t013parser.g
grammar t013parser;
options {
language = Python;
}
@parser::init {
self.identifiers = []
self.reportedErrors = []
}
@parser::members {
def foundIdentifier(self, name):
self.identifiers.append(