Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion numpy/random/_generator.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!python
#cython: wraparound=False, nonecheck=False, boundscheck=False, cdivision=True, language_level=3
#cython: wraparound=False, nonecheck=False, boundscheck=False, cdivision=True, language_level=3, binding=True
import operator
import warnings
from collections.abc import Sequence
Expand Down
2 changes: 2 additions & 0 deletions numpy/random/_mt19937.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#cython: binding=True

import operator

import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions numpy/random/_pcg64.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#cython: binding=True

import numpy as np
cimport numpy as np

Expand Down
2 changes: 2 additions & 0 deletions numpy/random/_philox.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#cython: binding=True

from cpython.pycapsule cimport PyCapsule_New

import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions numpy/random/_sfc64.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#cython: binding=True

import numpy as np
cimport numpy as np

Expand Down
2 changes: 2 additions & 0 deletions numpy/random/bit_generator.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#cython: binding=True

"""
BitGenerator base class and SeedSequence used to seed the BitGenerators.

Expand Down
2 changes: 1 addition & 1 deletion numpy/random/mtrand.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!python
#cython: wraparound=False, nonecheck=False, boundscheck=False, cdivision=True, language_level=3
#cython: wraparound=False, nonecheck=False, boundscheck=False, cdivision=True, language_level=3, binding=True
import operator
import warnings
from collections.abc import Sequence
Expand Down