Skip to content

Commit c36532f

Browse files
Update Doc/library/stdtypes.rst
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 9bfd2cc commit c36532f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5928,7 +5928,7 @@ creation::
59285928
<class 'list'>
59295929

59305930

5931-
Additionally, instances of ``GenericAlias`` are not classes at runtime, even though they behave like classes (e.g. they can be instantiated)::
5931+
Instances of ``GenericAlias`` are not classes at runtime, even though they behave like classes (they can be instantiated and subclassed)::
59325932

59335933
>>> import inspect
59345934
>>> inspect.isclass(list[int])

0 commit comments

Comments
 (0)