DOC: Add datetime.tzinfo to paramater tz in tz_localize and tz_convert
- [x] closes #50655 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Don't forget to add it to the functions listed in the issue. There could be more that I forgot to include. > Don't forget to add it to the functions listed in the issue. There could be more that I forgot to include.

All functions about tz_localize or tz_convert seem to share the same doc template, so this will influence all of them (Series.tz_localize, DataFrame.tz_localize, DateIndex.tz_localize... ). I haven't found more functions that need to be added, so if so, feel free to bring them up. 
> All functions about tz_localize or tz_convert seem to share the same doc template, so this will influence all of them (Series.tz_localize, DataFrame.tz_localize, DateIndex.tz_localize... ). I haven't found more functions that need to be added, so if so, feel free to bring them up.

I actually haven't read the code. Sorry for the wrong comment and thank you for solving the issue. Thanks @luke396 