Lines Matching refs:baz
101 def __init__(self, foo=1, bar=2, baz=3):
104 self.baz = baz
106 return {1: self.foo, 2: self.bar, 3: self.baz}
110 self.baz = state[3]
118 def __new__(cls, foo=None, bar=None, baz=None):
122 self.baz = baz
125 return cmp((type(self), self.foo, self.bar, self.baz),
126 (type(other), other.foo, other.bar, other.baz))
129 (self.foo, self.bar, self.baz) == (other.foo, other.bar, other.baz)
132 def __init__(self, foo=None, bar=None, baz=None):
135 self.baz = baz
137 return cmp((type(self), self.foo, self.bar, self.baz),
138 (type(other), other.foo, other.bar, other.baz))
141 (self.foo, self.bar, self.baz) == (other.foo, other.bar, other.baz)
148 '_baz': self.baz,
153 self.baz = state['_baz']
157 return (self.foo, self.bar, self.baz)
159 self.foo, self.bar, self.baz = state
163 return (self.foo, self.bar, self.baz)
171 return self.baz
173 self.baz = state
181 return self.__class__, (self.foo, self.bar, self.baz)
185 return self.__class__, (self.foo, self.bar), self.baz
187 self.baz = state
190 __slots__ = ("foo", "bar", "baz")
191 def __init__(self, foo=None, bar=None, baz=None):
194 self.baz = baz
198 (self.foo, self.bar, self.baz) == (other.foo, other.bar, other.baz)