Repository URL to install this package:
|
Version:
3.4.51 ▾
|
ó
ãEYc @ sá d d l Z d d l Z d d l Z d d l m Z d Z d Z d Z d Z d d d d d d d Z
d d d d d d Z d
e f d YZ
d d d d d d Z d d d d d d
Z d d d d d d Z d S( iÿÿÿÿN( t _utilss %s '%s' has moved to '%s's Class '%s' has moved to '%s's ()s Function '%s' has moved to '%s'i c s( f d } | S( s? Decorates a method/property that was moved to another location.c
sb t j | \ r( 7 n t j f d } | | S( Nc s¨ t j | d t } r$ } n d j | f } d j | f } t | | f } t j | d d d } t j | d d | | | S( Nt fully_qualifiedt .t messaget versiont removal_versiont
stacklevelt category( R t get_class_namet Falset joint _KIND_MOVED_PREFIX_TPLt generate_messaget deprecation( t wrappedt instancet argst kwargst base_namet old_namet new_namet prefixt out_message( R R t kindR t new_attribute_namet old_attribute_nameR R R ( sH /home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyt wrapper( s ( R t get_qualified_namet wraptt decorator( t fR ( t attr_postfixR R R R R R R ( R R sH /home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyR # s
0( ( R R R R R R R R R ( ( R R R R R R R R sH /home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyt _moved_decorator s $c sµ t j } | t 7} d j | | g } | t 7} t | | f }
t j |
d | d | d | t j d t j f d } | | _ | | _
| S( sù Deprecates a function that was moved to another location.
This generates a wrapper around ``new_func`` that will emit a deprecation
warning when called. The warning message will include the new location
to obtain the function from.
R R R R t assignedc s&