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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file getwrapspec-1.0.0.tar.gz
.
File metadata
- Download URL: getwrapspec-1.0.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d7f94700bc860d50485dd181c882d7ac63b164407211b6c16ee68ac49a6a450 |
|
MD5 | e506dea4f8bff5eed38a4cd22b3c9b9f |
|
BLAKE2b-256 | e69473e870a3ba4d95d64fac83770c37e885b9732094f3b8786454d943fdd981 |