Skip to content

Commit

Permalink
apacheGH-35335: [Python][Docs] Fix docstring of map_ (apache#35336)
Browse files Browse the repository at this point in the history
It also accepts fields, but this isn't mentioned in the docstring

* Closes: apache#35335

Authored-by: Fokko Driesprong <fokko@tabular.io>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
  • Loading branch information
Fokko authored and ArgusLi committed May 15, 2023
1 parent ea75af5 commit 5f86271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/types.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -4286,8 +4286,8 @@ cpdef MapType map_(key_type, item_type, keys_sorted=False):
Parameters
----------
key_type : DataType
item_type : DataType
key_type : DataType or Field
item_type : DataType or Field
keys_sorted : bool
Returns
Expand Down

0 comments on commit 5f86271

Please sign in to comment.