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.
26 lines
420 B
26 lines
420 B
1 year ago
|
from __future__ import annotations
|
||
|
|
||
|
from io import StringIO
|
||
|
|
||
|
import numpy as np
|
||
|
|
||
|
FILE = StringIO()
|
||
|
AR = np.arange(10, dtype=np.float64)
|
||
|
|
||
|
def func(a: int) -> bool: ...
|
||
|
|
||
|
np.deprecate(func)
|
||
|
np.deprecate()
|
||
|
|
||
|
np.deprecate_with_doc("test")
|
||
|
np.deprecate_with_doc(None)
|
||
|
|
||
|
np.byte_bounds(AR)
|
||
|
np.byte_bounds(np.float64())
|
||
|
|
||
|
np.info(1, output=FILE)
|
||
|
|
||
|
np.source(np.interp, output=FILE)
|
||
|
|
||
|
np.lookfor("binary representation", output=FILE)
|