From 3c5a16be1cdcc316db3aca3d1d2c92d9cc88dcc3 Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Wed, 24 May 2023 21:42:30 +0200 Subject: [PATCH] Exclude Type Hints from Stability Policy (#3712) --- docs/source/stability_policy.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/stability_policy.rst b/docs/source/stability_policy.rst index 2bfd1e9be..392720357 100644 --- a/docs/source/stability_policy.rst +++ b/docs/source/stability_policy.rst @@ -37,6 +37,9 @@ The versions that PTB uses of these third-party packages may change if that does PTB does not give guarantees about which Python versions are supported. In general, we will try to support all Python versions that have not yet reached their end of life, but we reserve ourselves the option to drop support for Python versions earlier if that benefits the advancement of the library. +PTB provides static type hints for all public attributes, parameters, return values and generic classes. +These type hints are not covered by this policy and may change at any time under the condition that these changes have no impact on the runtime behavior of PTB. + .. _bot-api-functionality-1: Bot API Functionality