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 0fdcab1 commit 74cf6ddCopy full SHA for 74cf6dd
shapefile.py
@@ -855,15 +855,13 @@ def __dir__(self):
855
return default + fnames
856
857
def __eq__(self, other):
858
- return (isinstance(other, self.__class__) and
859
- self.__field_positions == other.__field_positions and
860
- self.oid == other.oid and
861
- len(self) == len(other) and
862
- all(val_self == val_other
863
- for val_self, val_other in izip(self, other)
864
- )
865
866
-
+ return (
+ isinstance(other, self.__class__)
+ and self.__field_positions == other.__field_positions
+ and self.oid == other.oid
+ and len(self) == len(other)
+ and all(val_self == val_other for val_self, val_other in izip(self, other))
+ )
867
868
869
class ShapeRecord(object):
0 commit comments