summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpfebrer <42074085+pfebrer@users.noreply.github.com>2022-06-17 18:51:26 +0200
committerda-woods <dw-git@d-woods.co.uk>2022-06-17 17:52:59 +0100
commita7d98eeafac9aaaa8825fd471be38172ee0b259c (patch)
tree0af7a0dcc1ca3228b92410cd26695f04e919da00
parentad2d1f7dd72b0dbdb9d9441e0b30936ebad1a2c4 (diff)
downloadcython-a7d98eeafac9aaaa8825fd471be38172ee0b259c.tar.gz
BUG: fused types not subscriptable in Cython.Shadow (#4842)
-rw-r--r--Cython/Shadow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Shadow.py b/Cython/Shadow.py
index cc8c9b60a..f92f9ebf1 100644
--- a/Cython/Shadow.py
+++ b/Cython/Shadow.py
@@ -353,7 +353,7 @@ class typedef(CythonType):
__getitem__ = index_type
class _FusedType(CythonType):
- pass
+ __getitem__ = index_type
def fused_type(*args):