# HG changeset patch # User Paul Boddie # Date 1479415525 -3600 # Node ID e9b03527f13204f1b086102f1a39bfeffbf24e95 # Parent 28821b7f0b00011af68f6343d6b463355f7188f8 Employ a more explicit and constrained test for static object kinds. diff -r 28821b7f0b00 -r e9b03527f132 referencing.py --- a/referencing.py Tue Nov 15 22:57:58 2016 +0100 +++ b/referencing.py Thu Nov 17 21:45:25 2016 +0100 @@ -114,7 +114,7 @@ "Return this reference if it refers to a static object, None otherwise." - return not self.has_kind(["", ""]) and self or None + return self.has_kind(["", "", ""]) and self or None def final(self):