We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c90d9f commit 655cd52Copy full SHA for 655cd52
python/private/version.bzl
@@ -523,7 +523,8 @@ def _parse(version_str, strict = True):
523
Returns:
524
string containing the normalized version.
525
"""
526
- version = version_str.strip() # PEP 440: Leading and Trailing Whitespace
+ # https://packaging.python.org/en/latest/specifications/version-specifiers/#leading-and-trailing-whitespace
527
+ version = version_str.strip()
528
is_prefix = False
529
530
if not strict:
0 commit comments