Skip to content

Commit 94208de

Browse files
committed
Implement _sre.getlower by falling back to CPython version
1 parent 050a8ed commit 94208de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graalpython/lib-graalpython/_sre.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,8 @@ def getcodesize(*args, **kwargs):
459459

460460
@__builtin__
461461
def getlower(char_ord, flags):
462-
return ord(chr(char_ord).lower())
462+
import _cpython_sre
463+
return _cpython_sre.getlower(char_ord, flags)
463464

464465

465466
@__builtin__

0 commit comments

Comments
 (0)