File: 0067-Update-numba-core-byteflow.py.patch

package info (click to toggle)
numba 0.56.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,672 kB
  • sloc: python: 183,651; ansic: 15,370; cpp: 2,259; javascript: 424; sh: 308; makefile: 174
file content (25 lines) | stat: -rw-r--r-- 889 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From ac80942e084e259f0fccde08207474b2b48e92ae Mon Sep 17 00:00:00 2001
Origin: https://github.com/numba/numba/pull/8590
From: Siu Kwan Lam <1929845+sklam@users.noreply.github.com>
Date: Fri, 2 Dec 2022 11:02:12 -0600
Subject: [PATCH 13/14] Update numba/core/byteflow.py

Co-authored-by: stuartarchibald <stuartarchibald@users.noreply.github.com>
---
 numba/core/byteflow.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/numba/core/byteflow.py b/numba/core/byteflow.py
index ff988304338..a08150005b8 100644
--- a/numba/core/byteflow.py
+++ b/numba/core/byteflow.py
@@ -445,7 +445,7 @@ def op_LOAD_GLOBAL(self, state, inst):
     def op_COPY_FREE_VARS(self, state, inst):
         state.append(inst)
 
-    def op_MAKE_CELL(self, state: "State", inst):
+    def op_MAKE_CELL(self, state, inst):
         state.append(inst)
 
     def op_LOAD_DEREF(self, state, inst):