Issue #0002175: Change type() expressions to isinstance() expressions.
Patch from Gerald Britton <gerald.britton@gmail.com> svn: r10762
This commit is contained in:
@@ -872,7 +872,7 @@ class ParagraphStyle:
|
||||
return self.bmargin
|
||||
|
||||
def set_tabs(self, tab_stops):
|
||||
assert(type(tab_stops) == type([]))
|
||||
assert isinstance(tab_stops, list)
|
||||
self.tabs = tab_stops
|
||||
|
||||
def get_tabs(self):
|
||||
|
Reference in New Issue
Block a user