Skip to content

Commit 9a401c3

Browse files
committed
_collections._tuplegetter: make __init__ a builtin method as well
1 parent 59130f8 commit 9a401c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/lib-graalpython/_collections.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def __reduce__(self):
5959

6060

6161
class _tuplegetter(object):
62+
@__graalpython__.builtin_method
6263
def __init__(self, index, doc):
6364
self.index = index
6465
self.__doc__ = doc

0 commit comments

Comments
 (0)