Removed unused args in Index.clone().

This commit is contained in:
Mads Jensen 2018-02-11 22:27:36 +01:00 committed by Tim Graham
parent f8b98f0edc
commit 77609f922e
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ class Index:
def clone(self): def clone(self):
"""Create a copy of this Index.""" """Create a copy of this Index."""
path, args, kwargs = self.deconstruct() _, _, kwargs = self.deconstruct()
return self.__class__(*args, **kwargs) return self.__class__(**kwargs)
@staticmethod @staticmethod
def _hash_generator(*args): def _hash_generator(*args):