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 <[email protected]>
Signed-off-by: Joris Van den Bossche <[email protected]>
  • Loading branch information
Fokko authored and rtpsw committed May 16, 2023
1 parent 252bc0f commit 89bb239
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 89bb239

Please sign in to comment.