Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe52808

Browse files
committed
Remove misleading parentheses from assert
1 parent ec5d80e commit fe52808

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/dviread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ def _register(self, words):
915915

916916
# input must be bytestrings (the file format is ASCII)
917917
for word in words:
918-
assert(isinstance(word, bytes))
918+
assert isinstance(word, bytes)
919919

920920
texname, psname = words[:2]
921921
effects, encoding, filename = b'', None, None

0 commit comments

Comments
 (0)