
    Ki3                          " S  S5      r g)c                   X    \ rS rSrSrS\SS4S jrS\4S jrS\4S jr	S	\
S\4S
 jrSrg)Doc   a<  Define the documentation of a type annotation using `Annotated`, to be
    used in class attributes, function and method parameters, return values,
    and variables.

The value should be a positional-only string literal to allow static tools
like editors and documentation generators to use it.

This complements docstrings.

The string value passed is available in the attribute `documentation`.

Example:

```Python
from typing import Annotated
from annotated_doc import Doc

def hi(name: Annotated[str, Doc("Who to say hi to")]) -> None:
    print(f"Hi, {name}!")
```
documentationreturnNc                    Xl         g Nr   )selfr   s     T/var/www/html/dynamic-report/venv/lib/python3.13/site-packages/annotated_doc/main.py__init__Doc.__init__   s    *    c                 $    SU R                   < S3$ )NzDoc()r	   r
   s    r   __repr__Doc.__repr__   s    d((+1--r   c                 ,    [        U R                  5      $ r   )hashr   r   s    r   __hash__Doc.__hash__   s    D&&''r   otherc                 j    [        U[        5      (       d  [        $ U R                  UR                  :H  $ r   )
isinstancer   NotImplementedr   )r
   r   s     r   __eq__
Doc.__eq__!   s,    %%%!!!!U%8%888r   r	   )__name__
__module____qualname____firstlineno____doc__strr   r   intr   objectboolr   __static_attributes__ r   r   r   r      sE    ,+c + +.# .(# (9F 9t 9r   r   N)r   r(   r   r   <module>r)      s   #9 #9r   