Skip to content

Commit

Permalink
MINOR: [Python] Fix name of new keyword in the concat_tables future w…
Browse files Browse the repository at this point in the history
…arning
  • Loading branch information
jorisvandenbossche committed Nov 14, 2023
1 parent 160d45c commit 645e844
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pyarrow/table.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -5226,7 +5226,8 @@ def concat_tables(tables, MemoryPool memory_pool=None, str promote_options="none

if "promote" in kwargs:
warnings.warn(
"promote has been superseded by mode='default'.", FutureWarning, stacklevel=2)
"promote has been superseded by promote_options='default'.",
FutureWarning, stacklevel=2)
if kwargs['promote'] is True:
promote_options = "default"

Expand Down

0 comments on commit 645e844

Please sign in to comment.