-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
¹àíNc @@ sË d d l m Z d d d d g Z d d l Z d d l m Z d „ Z d „ Z d
„ Z d „ Z d „ Z
d
„ Z e a e a
d „ Z d „ Z d „ Z d e f d „ ƒ YZ d e f d „ ƒ YZ d S( i ( t absolute_importt needs_read_lockt needs_write_lockt use_fast_decoratorst use_pretty_decoratorsN( t tracec
@ s' d d l } | j | ƒ \ } } } } i ‰ ‡ f d † } | j | d | d | d | d | ƒ} | d k rx | } nL t | ƒ t | ƒ } | | } x) | | D] }
| j d |
|
f ƒ q£ W| d k rä | j d | ƒ n | d k r| j d
| ƒ n d j | ƒ } | d d
!| ˆ f S( sF Recreate the parameters for a function using introspection.
:return: (function_params, calling_params, default_values)
function_params: is a string representing the parameters of the
function. (such as "a, b, c=None, d=1")
This is used in the function declaration.
calling_params: is another string representing how you would call the
function with the correct parameters. (such as "a, b, c=c, d=d")
Assuming you used function_params in the function declaration, this
is the parameters to put in the function call.
default_values_block: a dict with the default values to be passed as
the scope for the 'exec' statement.
For example:
def wrapper(%(function_params)s):
return original(%(calling_params)s)
i Nc @ s"