You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2022/08/08 16:43:14 UTC

[arrow] branch master updated: MINOR: [Python] Fix memory_map() docstring (#13660)

This is an automated email from the ASF dual-hosted git repository.

apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new c9ec5438a1 MINOR: [Python] Fix memory_map() docstring (#13660)
c9ec5438a1 is described below

commit c9ec5438a14349a61ce55f0233811538b990fd62
Author: Michał Pogoda <23...@student.pwr.edu.pl>
AuthorDate: Mon Aug 8 18:43:06 2022 +0200

    MINOR: [Python] Fix memory_map() docstring (#13660)
    
    The file mode was incorrectly documented.
    
    Authored-by: Michał Pogoda <23...@student.pwr.edu.pl>
    Signed-off-by: Antoine Pitrou <pi...@free.fr>
---
 python/pyarrow/io.pxi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyarrow/io.pxi b/python/pyarrow/io.pxi
index f126633696..d1d3feb3c1 100644
--- a/python/pyarrow/io.pxi
+++ b/python/pyarrow/io.pxi
@@ -921,7 +921,7 @@ def memory_map(path, mode='r'):
     ----------
     path : str
     mode : {'r', 'r+', 'w'}, default 'r'
-        Whether the file is opened for reading ('r+'), writing ('w')
+        Whether the file is opened for reading ('r'), writing ('w')
         or both ('r+').
 
     Returns