Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Commit eb9a181

Browse files
committed
Tweak equality operator
1 parent 4d187b7 commit eb9a181

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coreapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from coreapi.document import Array, Document, Link, Object, Error, Field
55

66

7-
__version__ = '2.2.0'
7+
__version__ = '2.2.1'
88
__all__ = [
99
'Array', 'Document', 'Link', 'Object', 'Error', 'Field',
1010
'Client',

coreapi/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def __eq__(self, other):
253253
self.encoding == other.encoding and
254254
self.transform == other.transform and
255255
self.description == other.description and
256-
set(self.fields) == set(other.fields)
256+
self.fields == other.fields
257257
)
258258

259259
def __repr__(self):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy