8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d6c7a commit dcc2f40Copy full SHA for dcc2f40
lib/matplotlib/type1font.py
@@ -283,7 +283,7 @@ def replacer(tokens):
283
token, value = next(tokens) # name, e.g., /FontMatrix
284
yield bytes(value)
285
token, value = next(tokens) # possible whitespace
286
- while token == 'whitespace':
+ while token is cls._whitespace:
287
288
token, value = next(tokens)
289
if value != '[': # name/number/etc.
@@ -309,7 +309,7 @@ def suppress(tokens):
309
310
while True:
311
312
- if token == 'name' and value in table:
+ if token is cls._name and value in table:
313
for value in table[value](itertools.chain([(token, value)],
314
tokens)):
315
yield value
0 commit comments