From c2014cb5ad0e4c7605f8dee1e6dd39267e69438c Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 15 Mar 2005 13:22:47 -0500 Subject: get rid of issequence and just use the isinstance builtin --HG-- extra : convert_revision : eca99aa35ad5c5c1c86325f55cf693ff585c9826 --- util/stats/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/stats/display.py') diff --git a/util/stats/display.py b/util/stats/display.py index 68a26852d..4c17d4427 100644 --- a/util/stats/display.py +++ b/util/stats/display.py @@ -68,7 +68,7 @@ class VectorDisplay: p.flags = self.flags p.precision = self.precision - if issequence(self.value): + if isinstance(self.value, (list, tuple)): if not len(self.value): return -- cgit v1.2.3