From f3e0012fdc0e83cc809665c48bfcdd7628cfb350 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 7 Sep 2018 14:18:12 -0400 Subject: [PATCH] DOC: SpecObject: Make a comment match the code The code raises an error if _cmp_fields is empty. Re: https://github.com/ReproNim/niceman/pull/273#discussion_r216033044 --- niceman/distributions/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/niceman/distributions/base.py b/niceman/distributions/base.py index 5a50bbd62..5c50342cd 100644 --- a/niceman/distributions/base.py +++ b/niceman/distributions/base.py @@ -41,8 +41,7 @@ def TypedList(type_): class SpecObject(object): - # Empty tuple would signal that all attribs will be used while establishing - # the "identity" of the specobject + # Fields used to establish the "identity" of the specobject _cmp_fields = tuple() # Fields of the primary interest when showing diff _diff_fields = tuple()