This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new fe9030272c MINOR: [Docs][Python] Fix typo on pycapsule and ipc docs
(#38550)
fe9030272c is described below
commit fe9030272c4b7ecdc832ab720c137f75e88ade0f
Author: Bryce Mecum <[email protected]>
AuthorDate: Wed Nov 1 23:02:34 2023 -0400
MINOR: [Docs][Python] Fix typo on pycapsule and ipc docs (#38550)
### Rationale for this change
`_export_from_c` was a typo and it should be `_export_to_c`.
### Are these changes tested?
No.
### Are there any user-facing changes?
Docs changes.
Authored-by: Bryce Mecum <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
docs/source/format/CDataInterface/PyCapsuleInterface.rst | 2 +-
python/pyarrow/ipc.pxi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/source/format/CDataInterface/PyCapsuleInterface.rst
b/docs/source/format/CDataInterface/PyCapsuleInterface.rst
index 263c428c1e..0c1a01d7c6 100644
--- a/docs/source/format/CDataInterface/PyCapsuleInterface.rst
+++ b/docs/source/format/CDataInterface/PyCapsuleInterface.rst
@@ -30,7 +30,7 @@ The :ref:`C data interface <c-data-interface>` and
different implementations of Arrow. However, these interfaces don't specify how
Python libraries should expose these structs to other libraries. Prior to this,
many libraries simply provided export to PyArrow data structures, using the
-``_import_from_c`` and ``_export_from_c`` methods. However, this always
required
+``_import_from_c`` and ``_export_to_c`` methods. However, this always required
PyArrow to be installed. In addition, those APIs could cause memory leaks if
handled improperly.
diff --git a/python/pyarrow/ipc.pxi b/python/pyarrow/ipc.pxi
index deb3bb728a..fcb9eb729e 100644
--- a/python/pyarrow/ipc.pxi
+++ b/python/pyarrow/ipc.pxi
@@ -632,7 +632,7 @@ cdef class RecordBatchReader(_Weakrefable):
Notes
-----
To import and export using the Arrow C stream interface, use the
- ``_import_from_c`` and ``_export_from_c`` methods. However, keep in mind
this
+ ``_import_from_c`` and ``_export_to_c`` methods. However, keep in mind this
interface is intended for expert users.
Examples