diff options
Diffstat (limited to 'Lib/argparse.py')
| -rw-r--r-- | Lib/argparse.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py index 5148d64..836fa5c 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py @@ -1143,6 +1143,8 @@ class Namespace(_AttributeHolder): for name in kwargs: setattr(self, name, kwargs[name]) + __hash__ = None + def __eq__(self, other): return vars(self) == vars(other) |
