mirror of https://github.com/python/cpython
Browse Source
Currently, the docs state that when doing `Type[X]`, X is only allowed to be a class, a union of classes, and Any. This pull request amends that sentence to clarify X may also be a typevar (or a union involving classes, Any, and TypeVars).pull/9593/head
committed by
Ivan Levkivskyi
1 changed files with 6 additions and 3 deletions
Loading…
Reference in new issue