8000 BUG: Move ctypes ImportError catching to appropriate place by davidjn · Pull Request #8898 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: Move ctypes ImportError catching to appropriate place #8898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 7, 2017
Merged
Changes from 1 commit
Commits
File filter 8000

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
BUG: Updating dummy_ctype's behavior.
  • Loading branch information
davidjn authored Apr 6, 2017
commit c9fe3ba96ecced6dd9c41bff747d3499c2d05ad0
4 changes: 2 additions & 2 deletions numpy/core/_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ def __init__(self, cls):
self._cls = cls
def __mul__(self, other):
return self
def __call__(self, other):
return cls(other)
def __call__(self, *other):
return self._cls(other)

def _getintp_ctype():
if ctypes is None:
Expand Down
0