
    Dj>	                         d dl mZ d dlZd dlmZmZ ddgZd Z	 e	e      	 	 	 	 	 	 d
d       Z e	e      dd	       Zy)    )wrapsN)acfpacfr   r   c                       fd}|S )a  Inherit documentation from a parent

    Parameters
    ----------
    parent : callable
        The parent function or class that contains the sought-after
        docstring. If it doesn't have a docstring, this might behave
        in unexpected ways.
        
    Examples
    --------
    >>> def a(x=1):
    ...     '''This is documentation'''
    ...     return x
    ...
    >>> @inheritdoc(a)
    ... def b(x):
    ...     return 2 * a(x)
    ...
    >>> print(b.__doc__)
    This is documentation

    >>> print(b(2))
    4
    c                 R     j                    _         t                fd       }|S )Nc                       | i |S )N )argskwargsfuncs     ZC:\Crop_Prediction\Backend\crop-ai-system\venv\Lib\site-packages\pmdarima/utils/wrapped.pycallerz+inheritdoc.<locals>.wrapper.<locals>.caller1   s    (((    )__doc__r   )r   r   parents   ` r   wrapperzinheritdoc.<locals>.wrapper-   s)    ~~	t	) 
	)r   r	   )r   r   s   ` r   
inheritdocr      s    4 Nr   )r   c           	      &    t        | ||||||      S )Nxnlagsqstatfftalphamissingadjusted)sm_acfr   s          r   r   r   8   s&     
 r   c                     d|v r-t        j                  dt               |j                  dd      }n0|dv r,t        j                  dt               |j                  dd      }t	        | |||      S )	NunbiasedzfThe `*unbiased` methods have been deprecated in statsmodels >= 0.13.0. Please use `*adjusted` instead.r   )yduywulduz~The `ydu`, `ywu`, and `ldu` methods have been deprecated in statsmodels >= 0.13.0. Please use `yda`, `ywa`, and `lda` instead.uar   r   methodr   )warningswarnDeprecationWarningreplacesm_pacfr%   s       r   r   r   M   su     VE	

 
J7	(	( 		
 S)QeF%@@r   )NFNNnoneF)N
ywadjustedN)
	functoolsr   r'   statsmodels.tsa.stattoolsr   r   r   r+   __all__r   r	   r   r   <module>r1      sm      D 

"J 6 

 ( 7A Ar   