diff options
author | Michael Lee <michael.lee.0x2a@gmail.com> | 2018-09-26 15:13:28 (GMT) |
---|---|---|
committer | Ivan Levkivskyi <levkivskyi@gmail.com> | 2018-09-26 15:13:28 (GMT) |
commit | 130717fe58abb2ab9e7938207df0c130a2562747 (patch) | |
tree | e4d1e736ea15853c2d68918381537beeff6e47c5 /Doc/library/socket.rst | |
parent | bb8165172ac2ef8c7092e8e82928cc7f5f310ab3 (diff) | |
download | cpython-130717fe58abb2ab9e7938207df0c130a2562747.zip cpython-130717fe58abb2ab9e7938207df0c130a2562747.tar.gz cpython-130717fe58abb2ab9e7938207df0c130a2562747.tar.bz2 |
Clarify that Type[SomeTypeVar] is legal (#9585)
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).
Diffstat (limited to 'Doc/library/socket.rst')
0 files changed, 0 insertions, 0 deletions