CLN: GH19404 Changing function signature to match logic
- [x] closes #19404
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/19425?src=pr&el=h1) Report
> Merging [#19425](https://codecov.io/gh/pandas-dev/pandas/pull/19425?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/24d95098789c8685e7c0ce6a57982d0372ffc3e0?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/19425/graphs/tree.svg?src=pr&token=eZ4WkYLtcO&width=650&height=150)](https://codecov.io/gh/pandas-dev/pandas/pull/19425?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #19425   +/-   ##
=======================================
  Coverage   91.63%   91.63%           
=======================================
  Files         150      150           
  Lines       48726    48726           
=======================================
  Hits        44648    44648           
  Misses       4078     4078
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90% <100%> (ø)` | :arrow_up: |
| #single | `41.74% <100%> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/19425?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/clipboards.py](https://codecov.io/gh/pandas-dev/pandas/pull/19425/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2NsaXBib2FyZHMucHk=) | `100% <ø> (ø)` | :arrow_up: |
| [pandas/core/generic.py](https://codecov.io/gh/pandas-dev/pandas/pull/19425/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZ2VuZXJpYy5weQ==) | `95.91% <100%> (ø)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/19425?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/19425?src=pr&el=footer). Last update [24d9509...121285f](https://codecov.io/gh/pandas-dev/pandas/pull/19425?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
 can you also change in ``pandas.io.clipboards``
 @jreback, I thought I already did. There are two changes in this PR. Am I misunderstanding?
 
```
pandas.core.generic
pandas.io.clipboards
```
 yep thanks!