Skip to content

Commit fe7cf28

Browse files
committed
DOC: add getbufsize example
1 parent 7f6ac72 commit fe7cf28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

numpy/_core/_ufunc_config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ def getbufsize():
184184
getbufsize : int
185185
Size of ufunc buffer in bytes.
186186
187+
Examples
188+
--------
189+
>>> np.getbufsize()
190+
8192
191+
187192
"""
188193
return _get_extobj_dict()["bufsize"]
189194

0 commit comments

Comments
 (0)