Skip to content

Commit 1a9c8a4

Browse files
authored
TYP: Fix missed copy annotations in concat (#51325)
1 parent 341b579 commit 1a9c8a4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/core/reshape/concat.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def concat(
7373
names=...,
7474
verify_integrity: bool = ...,
7575
sort: bool = ...,
76-
copy: bool = ...,
76+
copy: bool | None = ...,
7777
) -> DataFrame:
7878
...
7979

@@ -90,7 +90,7 @@ def concat(
9090
names=...,
9191
verify_integrity: bool = ...,
9292
sort: bool = ...,
93-
copy: bool = ...,
93+
copy: bool | None = ...,
9494
) -> Series:
9595
...
9696

@@ -107,7 +107,7 @@ def concat(
107107
names=...,
108108
verify_integrity: bool = ...,
109109
sort: bool = ...,
110-
copy: bool = ...,
110+
copy: bool | None = ...,
111111
) -> DataFrame | Series:
112112
...
113113

@@ -124,7 +124,7 @@ def concat(
124124
names=...,
125125
verify_integrity: bool = ...,
126126
sort: bool = ...,
127-
copy: bool = ...,
127+
copy: bool | None = ...,
128128
) -> DataFrame:
129129
...
130130

@@ -141,7 +141,7 @@ def concat(
141141
names=...,
142142
verify_integrity: bool = ...,
143143
sort: bool = ...,
144-
copy: bool = ...,
144+
copy: bool | None = ...,
145145
) -> DataFrame | Series:
146146
...
147147

0 commit comments

Comments
 (0)