Meer Suri <meers...@gmail.com> added the comment:
(First time contributor looking for guidance) Is this diff okay? I'm not sure if the package name should be typing-extensions, or if the formatting is okay diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 94a46b01a1..c0fe656c1c 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -32,6 +32,11 @@ In the function ``greeting``, the argument ``name`` is expected to be of type :class:`str` and the return type :class:`str`. Subtypes are accepted as arguments. +New features have been added to the typing module in each major version of +Python. The `typing_extensions <https://pypi.org/project/typing-extensions/>`_ +package provides backports to all supported versions of Python 3 for almost +all of these features. + .. _relevant-peps: Relevant PEPs ---------- nosy: +meersuri _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46494> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com