Skip to content

Commit

Permalink
MINOR: [Python] Remove spurious dot in docstring (#38588)
Browse files Browse the repository at this point in the history
The signature of function to finalize output stream is `getvalue` instead of `get.value`.

Authored-by: ChinYikMing <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
  • Loading branch information
ChinYikMing authored Nov 29, 2023
1 parent be1dcdb commit 0940fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/io.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -1504,12 +1504,12 @@ cdef class BufferOutputStream(NativeFile):
"""
An output stream that writes to a resizable buffer.
The buffer is produced as a result when ``get.value()`` is called.
The buffer is produced as a result when ``getvalue()`` is called.
Examples
--------
Create an output stream, write data to it and finalize it with
``get.value()``:
``getvalue()``:
>>> import pyarrow as pa
>>> f = pa.BufferOutputStream()
Expand Down

0 comments on commit 0940fec

Please sign in to comment.