You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
278 B
20 lines
278 B
6 years ago
|
# this is based on jsarray.py
|
||
|
|
||
|
import six
|
||
|
|
||
|
if six.PY3:
|
||
|
xrange = range
|
||
|
import functools
|
||
|
|
||
|
|
||
|
def to_arr(this):
|
||
|
"""Returns Python array from Js array"""
|
||
|
return [this.get(str(e)) for e in xrange(len(this))]
|
||
|
|
||
|
|
||
|
ARR_STACK = set({})
|
||
|
|
||
|
|
||
|
class ArrayBufferPrototype:
|
||
|
pass
|