parent
c237e8d959
commit
6a8153ae3b
|
@ -15,6 +15,9 @@ class Code(object):
|
||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
return self.raw == other.raw
|
return self.raw == other.raw
|
||||||
|
|
||||||
|
def __ne__(self):
|
||||||
|
return not self == other
|
||||||
|
|
||||||
def new(self, rec=False, **kwargs):
|
def new(self, rec=False, **kwargs):
|
||||||
""" return new code object with modified attributes.
|
""" return new code object with modified attributes.
|
||||||
if rec-cursive is true then dive into code
|
if rec-cursive is true then dive into code
|
||||||
|
|
Loading…
Reference in New Issue