Andrey Popp <8may...@gmail.com> added the comment:

> the spec says "an object of type str" he means 'type(x) is str' as opposed to 
> 'isinstance(x, str)'

-1 Liskov substitution principle states, that every subtype S of type T can be 
used whenever type T is used.

----------
nosy: +andreypopp

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10935>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to