OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | PipDeprecationWarning |
Functions | |
def | install_warning_logger () |
def | deprecated (reason, replacement, gone_in, issue=None) |
Variables | |
DEPRECATION_MSG_PREFIX | |
A module that implements tooling to enable easy warnings about deprecations.
def pip._internal.utils.deprecation.deprecated | ( | reason, | |
replacement, | |||
gone_in, | |||
issue = None |
|||
) |
Helper to deprecate existing functionality. reason: Textual reason shown to the user about why this functionality has been deprecated. replacement: Textual suggestion shown to the user about what alternative functionality they can use. gone_in: The version of pip does this functionality should get removed in. Raises errors if pip's current version is greater than or equal to this. issue: Issue number on the tracker that would serve as a useful place for users to find related discussion and provide feedback. Always pass replacement, gone_in and issue as keyword arguments for clarity at the call site.
def pip._internal.utils.deprecation.install_warning_logger | ( | ) |
DEPRECATION_MSG_PREFIX |