File manager - Edit - /usr/lib/python3/dist-packages/hamcrest/core/helpers/__pycache__/wrap_matcher.cpython-310.pyc
Back
o (]^� � @ sx d dl mZmZmZ d dlmZ d dlmZ dZdZ dZ ed�Zdeee ef d ee fd d�Zded e fd d�ZdS )� )�Type�TypeVar�Union)�Matcher)�equal_tozJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txt�T�x�returnc C s t | t�r| S t| �S )z�Wraps argument in a matcher, if necessary. :returns: the argument as-is if it is already a matcher, otherwise wrapped in an :py:func:`~hamcrest.core.core.isequal.equal_to` matcher. )� isinstancer r )r � r �D/usr/lib/python3/dist-packages/hamcrest/core/helpers/wrap_matcher.py�wrap_matcher s r � expected_typec C s t | t�rdS dS )NTF)r �type)r r r r �is_matchable_type s r N)�typingr r r �hamcrest.core.base_matcherr �hamcrest.core.core.isequalr � __author__� __copyright__�__license__r r �boolr r r r r �<module> s "
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings