docs: def root2rec(filenames,
               treename=None,
               branches=None,
               selection=None,
               object_selection=None,
               start=None,
               stop=None,
               step=None,
               include_weight=False,
               weight_name='weight',
               cache_size=-1,
               warn_missing_tree=False):  # pragma: no cover
      """View the result of :func:`root2array` as a record array.
  
      .. warning:: ``root2rec`` is deprecated and will be removed in
         release 5.0.0. Instead use ``root2array(...).view(np.recarray)``.
  
      Notes
      -----
      * This is equivalent to::
  
          root2array(filenames, treename, branches).view(np.recarray)
  
      * Refer to the :ref:`type conversion table <conversion_table>`.
  
      See Also
      --------
      root2array
  
      """
      warnings.warn("root2rec is deprecated and will be removed in 5.0.0. "
                    "Instead use root2array(...).view(np.recarray)",
                    DeprecationWarning)
      return root2array(filenames, treename,
                        branches, selection, object_selection,
                        start, stop, step,
                        include_weight,
                        weight_name,
                        cache_size,
                        warn_missing_tree).view(np.recarray)