diff options
author | Pradyun Gedam <pradyunsg@users.noreply.github.com> | 2021-07-28 23:55:15 +0100 |
---|---|---|
committer | Pradyun Gedam <pradyunsg@users.noreply.github.com> | 2021-08-15 19:15:52 +0100 |
commit | ad32e8c3039fe82850ae8d2550aaa347a1479e6b (patch) | |
tree | 1ad799b5d83366764692dd41f47acf76e7bcea27 | |
parent | df501bcf9653d2e1de87cd5b0e75fc6977ff4548 (diff) | |
download | pip-ad32e8c3039fe82850ae8d2550aaa347a1479e6b.tar.gz |
Tweak comments
-rw-r--r-- | src/pip/_internal/utils/deprecation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pip/_internal/utils/deprecation.py b/src/pip/_internal/utils/deprecation.py index a11bc901a..038c92f22 100644 --- a/src/pip/_internal/utils/deprecation.py +++ b/src/pip/_internal/utils/deprecation.py @@ -8,7 +8,7 @@ from typing import Any, Optional, TextIO, Type, Union from pip._vendor.packaging.version import parse -from pip import __version__ as current_version +from pip import __version__ as current_version # NOTE: tests patch this name. DEPRECATION_MSG_PREFIX = "DEPRECATION: " DEPRECATION_MESSAGE = DEPRECATION_MSG_PREFIX + "{reason}" @@ -119,7 +119,7 @@ def deprecated( ] message = " ".join(sentence for sentence in sentences if sentence) - # Raise as an error if the functionality is gone. + # Raise as an error if this behaviour is no longer supported. if is_gone: raise PipDeprecationWarning(message) else: |