)uycBdZddlZ ddlmZmZn #e$rYnwxYwdZdS)z& Utility module to deprecate features N)AnyCallablecj j}n#t$rjj}YnwxYwd|zfd}|S)z Return a function that warns it is deprecated by another function. Returns a new function that warns it is deprecated by function ``func``, then acts as a pass-through wrapper for ``func``. zUse %s insteadcLtjtd|i|S)N) stacklevel)warningswarnDeprecationWarning)argskwargsfuncwarn_msgs 4/usr/lib/python3/dist-packages/debian/deprecation.pydeprecated_funcz/function_deprecated_by..deprecated_func0s0 h 2qAAAAtT$V$$$)__name__AttributeError__func__)r func_namerrs` @rfunction_deprecated_byr#sk+M +++M* +)+H%%%%%% s  %%)__doc__r typingrr ImportErrorrrrrs-,&    D s