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 7a0a1e5 commit 6ff8dd8Copy full SHA for 6ff8dd8
src/pip/_internal/resolution/resolvelib/candidates.py
@@ -341,6 +341,10 @@ def __init__(self, py_version_info):
341
version_info = sys.version_info[:3]
342
self._version = Version(".".join(str(c) for c in version_info))
343
344
+ # We don't need to implement __eq__() and __ne__() since there is always
345
+ # only one RequiresPythonCandidate in a resolution, i.e. the host Python.
346
+ # The built-in object.__eq__() and object.__ne__() do exactly what we want.
347
+
348
@property
349
def name(self):
350
# type: () -> str
0 commit comments