HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/mercurial/thirdparty/attr/__pycache__/converters.cpython-310.pyc
o

�]Lb�@s$dZddlmZmZmZdd�ZdS)z
Commonly useful converters.
�)�absolute_import�division�print_functioncs�fdd�}|S)z�
    A converter that allows an attribute to be optional. An optional attribute
    is one which can be set to ``None``.

    :param callable converter: the converter that is used for non-``None``
        values.

    ..  versionadded:: 17.1.0
    cs|durdS�|�S)N�)�val��	converterr�F/usr/lib/python3/dist-packages/mercurial/thirdparty/attr/converters.py�optional_convertersz$optional.<locals>.optional_converterr)rr
rrr	�optionalsrN)�__doc__�
__future__rrrrrrrr	�<module>s