summaryrefslogtreecommitdiff
path: root/util/stats/display.py
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-03-15 13:22:47 -0500
committerNathan Binkert <binkertn@umich.edu>2005-03-15 13:22:47 -0500
commitc2014cb5ad0e4c7605f8dee1e6dd39267e69438c (patch)
tree9d7777616a48d78cc715cdf5994904152ce7d38d /util/stats/display.py
parent0acb2d0108d3129b3cdd66ac7aca17157762c8cf (diff)
downloadgem5-c2014cb5ad0e4c7605f8dee1e6dd39267e69438c.tar.xz
get rid of issequence and just use the isinstance builtin
--HG-- extra : convert_revision : eca99aa35ad5c5c1c86325f55cf693ff585c9826
Diffstat (limited to 'util/stats/display.py')
-rw-r--r--util/stats/display.py2
1 files changed, 1 insertions, 1 deletions
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