diff options
author | Dominic Davis-Foster <dominic@davis-foster.co.uk> | 2022-04-22 14:28:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 14:28:39 (GMT) |
commit | 9fe82d0b70d9d90ca78d6bacdc2e5eb2b3278e23 (patch) | |
tree | 9b90981f5fe52bd31084681287c7e0b012792ba1 /Doc/library | |
parent | 121806160962d4e96b5e874a173d515531ae994b (diff) | |
download | cpython-9fe82d0b70d9d90ca78d6bacdc2e5eb2b3278e23.zip cpython-9fe82d0b70d9d90ca78d6bacdc2e5eb2b3278e23.tar.gz cpython-9fe82d0b70d9d90ca78d6bacdc2e5eb2b3278e23.tar.bz2 |
gh-91764: Mark version typing.Unpack and LiteralString were added in (#91817)
Closes GH-91764
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/typing.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 6b2a093..2f62193 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -614,6 +614,8 @@ These can be used as types in annotations and do not support ``[]``. that generate type checker errors could be vulnerable to an SQL injection attack. + .. versionadded:: 3.11 + .. data:: Never The `bottom type <https://en.wikipedia.org/wiki/Bottom_type>`_, @@ -1383,6 +1385,8 @@ These are not used in annotations. They are building blocks for creating generic tup: tuple[*Ts] # Syntax error on Python <= 3.10! tup: tuple[Unpack[Ts]] # Semantically equivalent, and backwards-compatible + .. versionadded:: 3.11 + .. class:: ParamSpec(name, *, bound=None, covariant=False, contravariant=False) Parameter specification variable. A specialized version of |