Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 53355ca

Browse filesBrowse files
jkseppanQuLogic
andcommitted
Simplify match expression
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 22198e9 commit 53355ca
Copy full SHA for 53355ca

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/_type1font.py

Copy file name to clipboardExpand all lines: lib/matplotlib/_type1font.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ def run(self, glyph_or_subr):
10491049
def _step(self, opcode):
10501050
"""Run one step in the charstring interpreter."""
10511051
match opcode:
1052-
case _ if isinstance(opcode, int):
1052+
case int():
10531053
self.buildchar_stack.append(opcode)
10541054
case (
10551055
'hsbw' | 'sbw' | 'closepath' | 'hlineto' | 'hmoveto' | 'hcurveto' |

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.