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 db5ea02 commit ab61d77Copy full SHA for ab61d77
graalpython/com.oracle.graal.python.benchmarks/python/micro/magic-iter.py
@@ -1,4 +1,4 @@
1
-# Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3
#
4
# The Universal Permissive License (UPL), Version 1.0
@@ -38,8 +38,8 @@
38
# SOFTWARE.
39
40
class CustomIterator:
41
- pos = 0
42
def __init__(self, obj):
+ self.pos = 0
43
self.__obj = obj
44
45
def __iter__(self):
0 commit comments