Skip to content

huyx/callwith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Call function with parameters
-----------------------------

You can do:

    format(3.1415926, '.2f')

But you can not do:

    parameters = (3.1415926, '.2f')
    format(parameters)

With callwith, you can do similar thing:

    from callwith import CallWith as _

    parameters = _(args, **kwargs)
    parameters(format)

Rename `CallWith` to `Parameters`, `CallWith` is now a subclass of `Parameters`.


Change Log
----------

0.2.0

 - Rename `CallWith` to `Parameters`, `CallWith` is now a subclass of `Parameters`.

About

Call function with parameters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages