Skip to main content

The functions update_wrapper and wraps improve on functools.update_wrapper and functools.wraps by persisting information about function signatures. The function get_argspec is similar to inspect.get_argspec, except it first tries to use the metadata provided by update_wrapper.

The function get_callargs is similar to inspect.getcallargs, except that

  • it can access the metadata created by update_wrapper

  • it does not raise when a call is illegal but rather makes a best guess, which makes it suitable for logging and error handling in decorators.

Release files for inspectcall 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inspectcall 0.0.1
File Size Uploaded
inspectcall-0.0.1.tar.gz 5.4 kB Details

Release files / inspectcall-0.0.1.tar.gz

Download URL inspectcall-0.0.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
93e7987c68de6c6a73927816f734c296a932aa84af46d1a53dd0b09865089c06
BLAKE2b-256 checksum
How to use checksums
57907359a37be360a0369b011f76cf0c09df94f61789b04763c640a9594056f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page