From 7a4d95bc3c3921009669b5b8a0f925dbaebf51a6 Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Fri, 9 Dec 2022 21:44:29 -0500 Subject: [PATCH] reword docstring Co-authored-by: Brett Cannon --- packaging/tags.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/tags.py b/packaging/tags.py index a044aacc..80c63c48 100644 --- a/packaging/tags.py +++ b/packaging/tags.py @@ -498,7 +498,10 @@ def platform_tags() -> Iterator[str]: def interpreter_name() -> str: """ - Returns the name of the running interpreter, usually as two characters. + Returns the name of the running interpreter. + + Some implementations have a reserved, two-letter abbreviation which will + be returned when appropriate. """ name = sys.implementation.name return INTERPRETER_SHORT_NAMES.get(name) or name