Skip to content

Commit c718d19

Browse files
committed
Add missing docstring
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 862e14a commit c718d19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/python_inspector/resolution.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ def is_valid_version(
170170

171171
def get_python_version_from_env_tag(python_version: str) -> str:
172172
"""
173+
Return the python version extracted from an environment tag.
174+
173175
>>> assert get_python_version_from_env_tag("310") == "3.10"
174176
>>> assert get_python_version_from_env_tag("39") == "3.9"
175177
"""

0 commit comments

Comments
 (0)