#1904 is_typeclass to default exact=False
This commit is contained in:
parent
d10f9b7320
commit
e552663eea
3 changed files with 15 additions and 15 deletions
|
|
@ -458,7 +458,7 @@ class TypedObject(SharedMemoryModel):
|
|||
# Object manipulation methods
|
||||
#
|
||||
|
||||
def is_typeclass(self, typeclass, exact=True):
|
||||
def is_typeclass(self, typeclass, exact=False):
|
||||
"""
|
||||
Returns true if this object has this type OR has a typeclass
|
||||
which is an subclass of the given typeclass. This operates on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue