We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f6ac72 commit fb98231Copy full SHA for fb98231
numpy/_core/_ufunc_config.py
@@ -167,6 +167,18 @@ def setbufsize(size):
167
size : int
168
Size of buffer.
169
170
+ Returns
171
+ -------
172
+ bufsize : int
173
+ Previous size of ufunc buffer in bytes.
174
+
175
+ Examples
176
+ --------
177
+ >>> np.setbufsize(4096)
178
+ 8192
179
+ >>> np.getbufsize()
180
+ 4096
181
182
"""
183
old = _get_extobj_dict()["bufsize"]
184
extobj = _make_extobj(bufsize=size)
0 commit comments