Metadata-Version: 1.0
Name: default-value-for-each-call
Version: 0.3
Summary: compute function default value for each call
Home-page: UNKNOWN
Author: Chen Fengyuan
Author-email: jeova.sanctus.unus@gmail.com
License: BSD
Description: Return a function whose default values will be computed for each call,
            instead of evaluating the default values when function definition is executed.
        
            make sure this function is the last(closest to the function) decorator
            Usage:
            @default_value_for_each_call.compute_default_value_for_each_call
            def foo(a=([])):
                a.append(3)
                print a
        
            foo()
            foo()
        
            Output:
            [3]
            [3]
Keywords: example documentation tutorial
Platform: UNKNOWN
