def addhooks(self, module_or_class):
warnings.warn(deprecated.PLUGIN_MANAGER_ADDHOOKS, stacklevel=<NUM_LIT:2>)<EOL>return self.add_hookspecs(module_or_class)<EOL>
.. deprecated:: 2.8

Use :py:meth:`pluggy.PluginManager.add_hookspecs <PluginManager.add_hookspecs>`
instead.