summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index b789d66..98d665d 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -2255,9 +2255,6 @@ class Parameter:
self._default == other._default and
self._annotation == other._annotation)
- def __ne__(self, other):
- return not self.__eq__(other)
-
class BoundArguments:
"""Result of `Signature.bind` call. Holds the mapping of arguments
@@ -2342,9 +2339,6 @@ class BoundArguments:
self.signature == other.signature and
self.arguments == other.arguments)
- def __ne__(self, other):
- return not self.__eq__(other)
-
class Signature:
"""A Signature object represents the overall signature of a function.
@@ -2559,9 +2553,6 @@ class Signature:
return (isinstance(other, Signature) and
self._hash_basis() == other._hash_basis())
- def __ne__(self, other):
- return not self.__eq__(other)
-
def _bind(self, args, kwargs, *, partial=False):
"""Private method. Don't use directly."""