Skip to content

Commit

Permalink
:typo: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b3j0f committed Apr 2, 2016
1 parent 90fa76b commit c918799
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions b3j0f/conf/model/param.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,16 @@ def __instancecheck__(self, instance):
"""Check instance such as this instance or self ptype instance."""

return (
super(Array, self).__instancecheck__(instance)
and not isinstance(instance, string_types)
super(Array, self).__instancecheck__(instance)
and not isinstance(instance, string_types)
)

def __subclasscheck__(self, subclass):
"""Check subclass such as this subclass or self ptype subclass."""

return (
super(Array, self).__subclasscheck__(subclass)
and not issubclass(subclass, string_types)
super(Array, self).__subclasscheck__(subclass)
and not issubclass(subclass, string_types)
)

def __call__(self, svalue):
Expand Down

0 comments on commit c918799

Please sign in to comment.