Skip to content

Commit f3e0012

Browse files
committed
DOC: SpecObject: Make a comment match the code
The code raises an error if _cmp_fields is empty. Re: ReproNim#273 (comment)
1 parent 0d1738a commit f3e0012

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

niceman/distributions/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ def TypedList(type_):
4141

4242
class SpecObject(object):
4343

44-
# Empty tuple would signal that all attribs will be used while establishing
45-
# the "identity" of the specobject
44+
# Fields used to establish the "identity" of the specobject
4645
_cmp_fields = tuple()
4746
# Fields of the primary interest when showing diff
4847
_diff_fields = tuple()

0 commit comments

Comments
 (0)