File: //proc/1233/cwd/usr/lib/python3/dist-packages/hamcrest/core/core/__pycache__/isnone.cpython-310.pyc
o
(]^� � @ s� d dl mZmZ d dlmZ d dlmZ d dlmZ ddl m
Z
dZdZd Z
G d
d� deee �Zdeee fd
d�Zdeee fdd�ZdS )� )�Any�Optional)�BaseMatcher)�Description)�Matcher� )�is_notzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc @ s0 e Zd Zdedefdd�Zdeddfdd�ZdS ) �IsNone�item�returnc C s |d u S )N� )�selfr
r r �;/usr/lib/python3/dist-packages/hamcrest/core/core/isnone.py�_matches s zIsNone._matches�descriptionNc C s |� d� d S )N�None)�append_text)r
r r r r �describe_to s zIsNone.describe_to)�__name__�
__module__�__qualname__r �boolr r r r r r r r s r r c C s t � S )zMatches if object is ``None``.)r r r r r �none s r c C s
t t� �S )z"Matches if object is not ``None``.)r r r r r r �not_none s
r N)�typingr r �hamcrest.core.base_matcherr �hamcrest.core.descriptionr �hamcrest.core.matcherr �isnotr �
__author__�
__copyright__�__license__r r r r r r r �<module> s