Message366609
Yeah, I think help() or pydoc needs to special-case this. (Didn't your other PR attempt to fix this?)
Note that issubclass(list[int].__class__, type) returns True -- the __class__ attribute in this case is taken from __origin__, while type() returns the "true" class.
I don't know what to do about __subclasses__ -- I expect we should just let it be this way. |
|
Date |
User |
Action |
Args |
2020-04-16 17:11:19 | gvanrossum | set | recipients:
+ gvanrossum, serhiy.storchaka |
2020-04-16 17:11:19 | gvanrossum | set | messageid: <1587057079.76.0.696067318369.issue40296@roundup.psfhosted.org> |
2020-04-16 17:11:19 | gvanrossum | link | issue40296 messages |
2020-04-16 17:11:19 | gvanrossum | create | |
|