Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

minpy.numpy.array dose not support len() #187

Open
MillPopulus opened this issue Dec 21, 2018 · 0 comments
Open

minpy.numpy.array dose not support len() #187

MillPopulus opened this issue Dec 21, 2018 · 0 comments

Comments

@MillPopulus
Copy link

import minpy.numpy as np
# import numpy as np
len(np.array([1,2,3]))

results in

TypeError                                 Traceback (most recent call last)
<ipython-input-39-32f01e8c945b> in <module>()
      1 import minpy.numpy as np
      2 # import numpy as np
----> 3 len(np.array([1,2,3]))

TypeError: object of type 'Array' has no len()

I use minpy installed by pip3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant