Thanks to visit codestin.com Credit goes to github.com
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 649db05 commit 80d1c9bCopy full SHA for 80d1c9b
1 file changed
lib/matplotlib/type1font.py
@@ -157,7 +157,7 @@ def _tokens(cls, text):
157
if match:
158
yield (tok_whitespace, match.group())
159
pos = match.end()
160
- elif text[pos] == b'(':
+ elif text[pos:pos+1] == b'(':
161
start = pos
162
pos += 1
163
depth = 1
@@ -176,7 +176,7 @@ def _tokens(cls, text):
176
elif text[pos:pos + 2] in (b'<<', b'>>'):
177
yield (tok_delimiter, text[pos:pos + 2])
178
pos += 2
179
- elif text[pos] == b'<':
+ elif text[pos:pos+1] == b'<':
180
181
pos = text.index(b'>', pos)
182
yield (tok_string, text[start:pos])
0 commit comments