8000 MAINT: Fix issue 77: Don't allow initializing `generic` by BvB93 · Pull Request #80 · numpy/numpy-stubs · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

MAINT: Fix issue 77: Don't allow initializing generic #80

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

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
Travis is not running; force a rerun
  • Loading branch information
Bas van Beek committed Jun 5, 2020
commit 7c58c3d2ff9b95afd5937d867bb48d3e7e514e86
1 change: 1 addition & 0 deletions numpy-stubs/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ class ndarray(_ArrayOrScalarCommon, Iterable, Sized, Container):
# the creation of `np.generic` instances.
# The `# type: ignore` comments are necessary to silence mypy errors regarding
# the missing `ABCMeta` metaclass.

# See https://github.com/numpy/numpy-stubs/pull/80 for more details.

class generic(_ArrayOrScalarCommon):
Expand Down
0