Skip to content

Commit 9372ca3

Browse files
author
Franziska Geiger
committed
Handling empty string in finditer method
1 parent e4e251d commit 9372ca3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

graalpython/lib-graalpython/_sre.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ def __sanitize_out_type(self, elem):
346346

347347
def finditer(self, string, pos=0, endpos=-1):
348348
self.__check_input_type(string)
349-
# print('String to find iter:' , string)
350349
if endpos > len(string) or len(string) == 0:
351350
endpos = len(string)
352351
elif endpos < 0:

0 commit comments

Comments
 (0)