This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients gvanrossum, serhiy.storchaka
Date 2020-04-15.20:50:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>>> help(list[int])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/serhiy/py/cpython/Lib/", line 103, in __call__
    return*args, **kwds)
  File "/home/serhiy/py/cpython/Lib/", line 1905, in __call__
  File "/home/serhiy/py/cpython/Lib/", line 1964, in help
    else: doc(request, 'Help on %s:', output=self._output)
  File "/home/serhiy/py/cpython/Lib/", line 1684, in doc
    pager(render_doc(thing, title, forceload))
  File "/home/serhiy/py/cpython/Lib/", line 1677, in render_doc
    return title % desc + '\n\n' + renderer.document(object, name)
  File "/home/serhiy/py/cpython/Lib/", line 381, in document
    if inspect.isclass(object): return self.docclass(*args)
  File "/home/serhiy/py/cpython/Lib/", line 1251, in docclass
    (str(cls.__name__) for cls in type.__subclasses__(object)
TypeError: descriptor '__subclasses__' for 'type' objects doesn't apply to a 'types.GenericAlias' object
Date User Action Args
2020-04-15 20:50:17serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum
2020-04-15 20:50:17serhiy.storchakasetmessageid: <>
2020-04-15 20:50:17serhiy.storchakalinkissue40296 messages
2020-04-15 20:50:16serhiy.storchakacreate