Viewing File: /opt/alt/python38/lib/python3.8/site-packages/attr/__pycache__/converters.cpython-38.opt-1.pyc

U

#IGZã@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|dkrdSˆ|ƒS)N©)Úval©Ú	converterrú/converters.pyÚoptional_convertersz$optional.<locals>.optional_converterr)rr
rrr	ÚoptionalsrN)Ú__doc__Z
__future__rrrrrrrr	Ú<module>s
Back to Directory File Manager