zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)