o
    …>a'  ã                   @   s   d dl mZ ddd„ZdS )é    )ÚSimpleHandlerNc                 C   s^   G dd„ dt ƒ}| durt| ƒ|_|durt|ƒ|_|dur#t|ƒ|_|dur,t|ƒ|_|ƒ S )zõ Convenience function that creates a `SimpleHandler` from a set of
        callback functions. Each of the parameters takes an optional callable
        that must expect a single positional parameter with the object being
        processed.
    c                   @   s   e Zd ZdS )z3make_simple_handler.<locals>.__HandlerWithCallbacksN)Ú__name__Ú
__module__Ú__qualname__© r   r   ú//usr/lib/python3/dist-packages/osmium/helper.pyÚ__HandlerWithCallbacks	   s    r   N)r   ÚstaticmethodÚnodeÚwayÚrelationÚarea)r
   r   r   r   r   r   r   r   Úmake_simple_handler   s   



r   )NNNN)Úosmium._osmiumr   r   r   r   r   r   Ú<module>   s    