
    i                     J    d Z 	 ddlmZmZmZ  G d de      Zy# e$ r Y yw xY w)zPrivate pydoctor customization code in order to exclude the package
docstring_parser.tests from the API documentation. Based on Twisted code.
    )DocumentablePrivacyClassSystemc                   ,     e Zd ZdZdedef fdZ xZS )HidesTestsPydoctorSystemz.A PyDoctor "system" used to generate the docs.documentablereturnc                     |j                         j                  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__s     OC:\Projects\mas-dev\.venv\Lib\site-packages\docstring_parser/tests/_pydoctor.pyr   z%HidesTestsPydoctorSystem.privacyClass   s9     $$&112JK#***7'55    )__name__
__module____qualname____doc__r   r   r   __classcell__)r   s   @r   r   r      s    <	6\ 	6l 	6 	6r   r   N)r   pydoctor.modelr   r   r   r   ImportError r   r   <module>r      s5   6AA
	66 	6	  		s   
 ""