o
    i                     @   sF   d Z zddlmZmZmZ W n
 ey   Y dS w G dd deZdS )zPrivate pydoctor customization code in order to exclude the package
docstring_parser.tests from the API documentation. Based on Twisted code.
    )DocumentablePrivacyClassSystemc                       s*   e Zd ZdZdedef fddZ  ZS )HidesTestsPydoctorSystemz.A PyDoctor "system" used to generate the docs.documentablereturnc                    s    |  dr
tjS t |S )zjReport the privacy level for an object. Hide the module
            'docstring_parser.tests'.
            zdocstring_parser.tests)fullName
startswithr   HIDDENsuperprivacyClass)selfr   	__class__ f/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/docstring_parser/tests/_pydoctor.pyr      s   z%HidesTestsPydoctorSystem.privacyClass)__name__
__module____qualname____doc__r   r   r   __classcell__r   r   r   r   r      s    r   N)r   pydoctor.modelr   r   r   ImportErrorr   r   r   r   r   <module>   s    