aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/PyJWT/py3/jwt/help.py
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-01-09 18:56:40 +0100
committerGitHub <noreply@github.com>2024-01-09 18:56:40 +0100
commite95f266d2a3e48e62015220588a4fd73d5d5a5cb (patch)
treea8a784b6931fe52ad5f511cfef85af14e5f63991 /contrib/python/PyJWT/py3/jwt/help.py
parent50a65e3b48a82d5b51f272664da389f2e0b0c99a (diff)
downloadydb-e95f266d2a3e48e62015220588a4fd73d5d5a5cb.tar.gz
Library import 6 (#888)
Diffstat (limited to 'contrib/python/PyJWT/py3/jwt/help.py')
-rw-r--r--contrib/python/PyJWT/py3/jwt/help.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/PyJWT/py3/jwt/help.py b/contrib/python/PyJWT/py3/jwt/help.py
index d8f2302421..d5c3ebbfff 100644
--- a/contrib/python/PyJWT/py3/jwt/help.py
+++ b/contrib/python/PyJWT/py3/jwt/help.py
@@ -28,10 +28,10 @@ def info():
if implementation == "CPython":
implementation_version = platform.python_version()
elif implementation == "PyPy":
- implementation_version = "{}.{}.{}".format(
- sys.pypy_version_info.major,
- sys.pypy_version_info.minor,
- sys.pypy_version_info.micro,
+ implementation_version = (
+ f"{sys.pypy_version_info.major}."
+ f"{sys.pypy_version_info.minor}."
+ f"{sys.pypy_version_info.micro}"
)
if sys.pypy_version_info.releaselevel != "final":
implementation_version = "".join(