Commits

stepahn committed 36100f4

use unicodedb from rpython

  • Participants
  • Parent commits 2252970

Comments (0)

Files changed (2)

File js/builtins/js_global.py

 from rpython.rlib.rfloat import NAN, INFINITY, isnan, isinf
 from js.builtins import get_arg
 from js.object_space import w_return
-from pypy.module.unicodedata import unicodedb
+from rpython.rlib.unicodedata import unicodedb
 
 
 def setup(global_object):

File js/builtins/string.py

 # 15.5.4.16
 @w_return
 def to_lower_case(this, args):
-    from pypy.module.unicodedata import unicodedb
+    from rpython.rlib.unicodedata import unicodedb
 
     string = this.to_string()
     builder = UnicodeBuilder(len(string))
 # 15.5.4.18
 @w_return
 def to_upper_case(this, args):
-    from pypy.module.unicodedata import unicodedb
+    from rpython.rlib.unicodedata import unicodedb
 
     string = this.to_string()
     builder = UnicodeBuilder(len(string))