File: //usr/lib/python3/dist-packages/sphinx/ext/autodoc/__pycache__/deprecated.cpython-310.pyc
o
$�a � @ s� d Z ddlZddlmZ ddlmZ ddlmZmZm Z m
Z
G dd� de �ZG dd � d e�ZG d
d� de�Z
G dd
� d
e
�ZG dd� de�ZG dd� de�ZG dd� de�ZdS )z�
sphinx.ext.autodoc.deprecated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The deprecated Documenters for autodoc.
:copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�Any)�RemovedInSphinx50Warning)�AttributeDocumenter�DataDocumenter�FunctionDocumenter�MethodDocumenterc �. e Zd ZdZdededdf� fdd�Z� ZS )� SingledispatchFunctionDocumenterz�
Used to be a specialized Documenter subclass for singledispatch'ed functions.
Retained for backwards compatibility, now does the same as the FunctionDocumenter
�args�kwargs�returnNc �. t jd| jj tdd� t� j|i |�� d S �Nz%s is deprecated.� )�
stacklevel��warnings�warn� __class__�__name__r �super�__init__��selfr
r �r � �?/usr/lib/python3/dist-packages/sphinx/ext/autodoc/deprecated.pyr � �z)SingledispatchFunctionDocumenter.__init__�r �
__module__�__qualname__�__doc__r r �
__classcell__r r r r r � "r c �>