Skip to main content

Get argspec of wrapped functions for side-effect-only decorators

Project description

If your decorator doesn’t change the order of arguments, and you want to stack decorators, use getwrapspec.wraps() instead of functools.wraps() and getwrapspec.getargspec() if you want to retrieve the argspec of the real function.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

getwrapspec-1.0.0.tar.gz (2.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page