+
    bViq                         ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHt RtR	tR
t ! R R]],          4      tR R ltR# )    )Sized)Union)BaseMatcherDescription)	hasmethod)wrap_matcher)MatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc                   t   a a ] tR t^t oV3R lR ltV3R lR ltV3R lV 3R lltV3R lR ltR	tVt	V ;t
# )
	HasLengthc                4   < V ^8  d   QhRS[ S[,          RR/# )   len_matcherreturnN)r
   int)format__classdict__s   "C/usr/lib/python3/dist-packages/hamcrest/library/object/haslength.py__annotate__HasLength.__annotate__   s     ' 'GCL 'T '    c                    Wn         R # )Nr   )selfr   s   &&r   __init__HasLength.__init__   s    &r   c                &   < V ^8  d   QhRS[ RS[/# )r   itemr   )r   bool)r   r   s   "r   r   r      s     3 3U 3t 3r   c                r    \        VR 4      '       g   R# V P                  P                  \        V4      4      # )__len__F)r   r   matcheslen)r   r   s   &&r   _matchesHasLength._matches   s-    y))''D	22r   c                *   < V ^8  d   QhRS[ RS[RR/# )r   r   mismatch_descriptionr   N)r   r   )r   r   s   "r   r   r      s(     b be b; bSW br   c                   < \         \        V `  W4       \        VR 4      '       d,   VP	                  R4      P                  \        V4      4       R# R# )r!   z with length of N)superr   describe_mismatchr   append_textappend_description_ofr#   )r   r   r'   	__class__s   &&&r   r*   HasLength.describe_mismatch   sE    i0LT9%% ,,-?@VVWZ[_W`a &r   c                $   < V ^8  d   QhRS[ RR/# )r   descriptionr   Nr   )r   r   s   "r   r   r      s     e e{ et er   c                Z    VP                  R 4      P                  V P                  4       R# )zan object with length of N)r+   r,   r   )r   r0   s   &&r   describe_toHasLength.describe_to   s#     ;<RRSWScScdr   r   )__name__
__module____qualname____firstlineno__r   r$   r*   r2   __static_attributes____classdictcell____classcell__)r-   r   s   @@r   r   r      s7     ' '3 3
b b
e e er   r   c                ~    V ^8  d   QhR\         \        \        \        ,          3,          R\        \        ,          /# )r   matchr   )r   r   r
   r   )r   s   "r   r   r   !   s,     * *eC-. *75> *r   c                *    \        \        V 4      4      # )a!  Matches if ``len(item)`` satisfies a given matcher.

:param match: The matcher to satisfy, or an expected value for
    :py:func:`~hamcrest.core.core.isequal.equal_to` matching.

This matcher invokes the :py:func:`len` function on the evaluated object to
get its length, passing the result to a given matcher for evaluation.

If the ``match`` argument is not a matcher, it is implicitly wrapped in an
:py:func:`~hamcrest.core.core.isequal.equal_to` matcher to check for
:equality.

Examples::

    has_length(greater_than(6))
    has_length(5)

)r   r	   )r<   s   &r   
has_lengthr>   !   s    & \%())r   N)collections.abcr   typingr   hamcrest.core.base_matcherr   hamcrest.core.descriptionr   hamcrest.core.helpers.hasmethodr   "hamcrest.core.helpers.wrap_matcherr	   hamcrest.core.matcherr
   
__author____copyright____license__r   r>    r   r   <module>rJ      sA    !  2 1 5 ; )
-$eE" e$*r   