docs: remove redundant deprecation warning (#25067)

This commit is contained in:
Bagatur 2024-08-05 11:44:47 -07:00 committed by GitHub
parent 41dfad5104
commit a02a09c973
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -343,7 +343,6 @@ Functions
full_doc += f"""\
Deprecated classes
--------------
.. warning:: These classes are deprecated.
.. currentmodule:: {package_namespace}
@ -378,7 +377,6 @@ Deprecated classes
full_doc += f"""\
Deprecated functions
--------------
.. warning:: These functions are deprecated.
.. currentmodule:: {package_namespace}